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:

c:\perl\bin\perl -MFile::Spec -e "print File::Spec::Win32->catfile('') +"
which prints the empty string (in Perl 5.10 and in Perl 5.7).

-- 
Ronald Fischer <ynnor@mm.st>
  • Comment on Re^2: File::Spec::Win32::catfile behaviour for empty path components
  • Download Code