in reply to Re: File::Spec::Win32::catfile behaviour for empty path components
in thread File::Spec::Win32::catfile behaviour for empty path components
You did not call catfile in the right way. If you don't drag it in via File::Spec::Functions, you need to call it like this:
which prints the empty string (in Perl 5.10 and in Perl 5.7).c:\perl\bin\perl -MFile::Spec -e "print File::Spec::Win32->catfile('') +"
|
|---|