On Jul 19, 2006, at 13:59, Ankam, Ramesh Babu wrote:

  Can any one please tell me what this pattern means  "  s|.*/||  ".

Assuming there are no newlines in the string, that s/// means remove everything up to, and including, the last slash. It's a typical regexp for getting the basename of a filename. If that's the usage please delegate to File::Basename instead.

-- fxn




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to