On Fri Dec 16 21:26:33 2011, TJENNESS wrote:
Show quoted text> Closing this as it does seem to work on OSX and Linux with perl 5.8.x
> (unable to test with 5.6.2
> on FreeBSD at this time).
I can reproduce it on OS X with 5.6.2. File::Temp is using File::Spec->tmpdir. As of version
0.84 it tries to avoid returning a tainted tmpdir under tainting. 5.6 doesn’t have the ${^TAINT}
variable, so under that version it gives up. File::Spec could use eval('1'.substr $tmpdir,0,0) to
see whether a path it is about to return is safe, at least on older versions. Now I need to open a
File::Spec bug....
Actually, it’s in perl’s own repository, so maybe I can patch it directly. :-)