in reply to Re: File::Spec::Win32 returning different result than File::Spec when doing catfile with empty string
in thread File::Spec::Win32 returning different result than File::Spec when doing catfile with empty string
Well, I want the trailing slash. It's needed in the context of my algorithm, currently. catdir on *nix does not create a trailing slash. I can recode my algorithm pretty easily but I thought it was weird that the same method produces two separate results.
$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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File::Spec::Win32 returning different result than File::Spec when doing catfile with empty string
by jcb (Parson) on Sep 08, 2019 at 05:52 UTC | |
by nysus (Parson) on Sep 08, 2019 at 06:37 UTC | |
|
Re^3: File::Spec::Win32 returning different result than File::Spec when doing catfile with empty string
by davido (Cardinal) on Sep 09, 2019 at 15:17 UTC |