go ahead... be a heretic | |
PerlMonks |
(smitz)Re: Extracting filename from a path stringby smitz (Chaplain) |
on Apr 20, 2002 at 13:08 UTC ( [id://160777]=note: print w/replies, xml ) | Need Help?? |
This is tried and tested (but not v. elegant) on WinX machines: where $filepath = 'c:\windows\foo\bar\quux\baz.txt'; Hope that helps, SMiTZ
In Section
Seekers of Perl Wisdom
|
|