Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: catfile/catdir collapses two leading slashes //by ikegami (Patriarch) |
on Sep 17, 2008 at 18:25 UTC ( [id://712091]=note: print w/replies, xml ) | Need Help?? |
Since File::Spec::Functions is system specific, the warning ("Don't assume ...") doesn't apply. Since you are using a unix system, "//" can be collapsed, and you get
Since I use a Windows system, leading "\\" is special, and I get
In Section
Seekers of Perl Wisdom
|
|