afoken's refresher on what can cause failures on taint mode mentions environment variables. And made me check File::Spec::Unix's doc:
File::Spec::Unix checks $ENV{TMPDIR} (unless taint is on) and /tmp.
Perhaps, the above is not the source of the problem (e.g. "unless taint is on") but other environment variables set on some tester machines may be.
So, with your test script, you may also want to report on the ENV and loaded modules and their versions:
print $_."=>".$ENV{$_}."\n" for sort keys %ENV; print $_."=>".$INC{$_}." (v".((($_ =~ /^(.+?)\.pm$/)[0]=~s{/}{::}gr)[0 +])->VERSION.")\n" for sort keys %INC;
bw, bliako
In reply to Re: Revisiting Insecure dependency in mkdir while running with -T switch at ... File/Temp.pm line 542
by bliako
in thread Revisiting Insecure dependency in mkdir while running with -T switch at ... File/Temp.pm line 542
by sidney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |