[NTLUG:Discuss] ...perl cgi question...

Fred James fredjame at concentric.net
Mon Jul 30 10:38:13 CDT 2001


Actually 2 questions:
(1) I haven't found an active discussion list that is specific to perl -
do you know of one, or is it OK to post Perl questions here?
(2) From the following code (snippet shown here):

#!/usr/bin/perl -wT
use strict;
use CGI;
use CGIaskit::Error; # local error handling routine
$CGI::HEADERS_ONCE = 1;
$CGI::DISABLE_UPLOADS = 1;
$CGI::POST_MAX = 102_400;
my $q new CGI;
(omitted code)
if ( $errorCount == 0 ) {
    my @Arguments = ( "$Pgm", "$email", "$Number", "$f_name", "$m_name",
"$l_name", "$Finp", "$Pprd", "$Find", "$Ppdv" );
    system( @Arguments );
(omitted code
}

I am getting this error message:
"Insecure $ENV{PATH} while running -T switch at
full_path_name_of_this_script line 63.
where line 63 is the "system( @Arguments );" shown in the snippet.

Any insight would be appreciated.

-- 
...make every program a filter...



More information about the Discuss mailing list