develooper Front page | perl.perl5.porters | Postings from May 2008

File::Path::mkpath() incompatiblity in perl-5.10

Thread Next
Gisle Aas
May 7, 2008 12:41
File::Path::mkpath() incompatiblity in perl-5.10
Message ID:
I had some production code using File::Path::mkpath() that started to  
misbehave after upgrading to perl-5.10.  The bug is demonstrated with  
the following script:

   use File::Path qw(mkpath);
   print "$File::Path::VERSION\n";
   mkpath("foo", !shift, 0755);

This script will create a directory called "493" in the current  
directory if invoked with 1 as argument.  This did not happen with  
perl-5.8 and earlier.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About