I originally had it split with the volume as a separate return value. See original code. But it turns out I don't need it. splitdir includes the volume in the returned array, which works for me.
catfile was needed on *unix to generate the slash when used with an empty string (but it does not work like that on Windows).
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Re^2: Any way to simulate a Windows path handling for File::Spec without Windows?
by nysus
in thread Any way to simulate a Windows path handling for File::Spec without Windows?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |