Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How do I split a string containing path+filenameby tachyon (Chancellor) |
on May 21, 2001 at 08:50 UTC ( [id://81914]=note: print w/replies, xml ) | Need Help?? |
Quick and dirty regex answer (for Unix or DOS):
I agree with grinder that your var names are obfu, which has its place, but usually we choose descriptive names like $p and $f or even $pathname and $filename ;-)
In Section
Seekers of Perl Wisdom
|
|