In your code you don't show how you set $ENV{PATH} to a fixed value - I would start with that...
That's because I don't!
Nowhere in my code have I set $ENV{PATH} so it is either part of the server configuration or it is set by another module. These are the ones I am using:
use DBI; use DBD::mysql; use Exporter; use Template; use MIME::Lite;
Update:
Printing $ENV{PATH} gives /usr/local/bin:/usr/bin:/bin
In reply to Re^2: Insecure CPAN module in taint mode
by Bod
in thread Insecure CPAN module in taint mode
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |