in reply to Re: mkpath (and rmtree) throw strange error when used in CGI
in thread mkpath (and rmtree) throw strange error when used in CGI

Hmm, it might be worth trying to see if perhaps there's something sneaking into the array with the paths that shouldn't be there- but I've displayed every element in the array before and it looks okay. I'm also not running mkpath when a directory already exists.
  • Comment on Re^2: mkpath (and rmtree) throw strange error when used in CGI

Replies are listed 'Best First'.
Re^3: mkpath (and rmtree) throw strange error when used in CGI
by Anonymous Monk on Feb 11, 2009 at 08:30 UTC
    Doesn't mean you're not fooling yourself, hexdump
    print "<pre>\n"; for my $i ( 0 .. $#foo ){ print "$i)", unpack('H*', $foo[$i]),"\n"; } print "</pre>\n";