|
|
| "be consistent" | |
| PerlMonks |
Re^3: file name parsing to get the original file nameby rthawkcom (Novice) |
| on Jun 22, 2011 at 15:54 UTC ( #910922=note: print w/ replies, xml ) | Need Help?? |
|
Wouldn't it be easier just to do: $path=~/.*\/(.*)$/;$name=$1; Basically nuke everything in the way and grab what's left??
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||