Subject: | Mail::Send under taint mode |
my $msg = Mail::Send->new();
$msg->to( 'god@heaven.mil' );
my $fh = $msg->open( sendmail => '/usr/sbin/sendmail' );
under Taint mode results in:
[Wed Mar 3 16:32:47 2004] [error] Insecure $ENV{PATH} while running with -T switch at /usr/local/lib/perl5/site_perl/5.8.2/Mail/Mailer/sendmail.pm line 16.
Am I doing something wrong here?