XP is just a number | |
PerlMonks |
Re^2: Uploading Time (getting last element of a path)by Aristotle (Chancellor) |
on Jun 14, 2002 at 08:47 UTC ( [id://174434]=note: print w/replies, xml ) | Need Help?? |
If one really wants to do it with a regex, a much better way would be
Zero backtracking here. However, Macs are still going to be a problem (paths are separated with doublecolons there, right?), so File::Basename is what one should use. ____________ Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|