On 11-06-09 11:42 AM, sono...@fannullone.us wrote:
On Jun 9, 2011, at 7:52 AM, Shawn H Corey wrote:
Use File::Spec and File::Basename together.
From what I read, I thought they did the same thing, but from your
post it appears that there may be differences. What's the advantage in using
both instead of one or the other? Are they not platform independent on their
own? I've only been able to run tests on a Mac.
Marc
File::Spec::splitpath() does not parse the suffixes.
File::Basename::parsefile() does not parse the volume.
What you use depends on your application's needs.
--
Just my 0.00000002 million dollars worth,
Shawn
Confusion is the first step of understanding.
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/