http://qs321.pair.com?node_id=11134721


in reply to Re: Insecure CPAN module in taint mode
in thread Insecure CPAN module in taint mode

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