laziness, impatience, and hubris | |
PerlMonks |
Re: capturing from pathby Fastolfe (Vicar) |
on Jul 09, 2002 at 20:57 UTC ( [id://180606]=note: print w/replies, xml ) | Need Help?? |
To break a path up into directory and file components, you can either split on the / character, or for a more portable solution, use File::Spec's splitpath and splitdir functions.
In Section
Seekers of Perl Wisdom
|
|