in reply to Taint Mode

I'm surprised nobody has pointed you to perldoc perldiag!

Too late for "-T" option (X) The #! line (or local equivalent) in a Perl script contains +the -T option, but Perl was not invoked with -T in its command line. This is an error because, by the time Perl discovers a -T in a script, it's too late to properly taint everything from the environment. So Perl gives up. If the Perl script is being executed as a command using the #! mechanism (or its local equivalent), this error can usually be f +ixed by editing the #! line so that the -T option is a part of Perl's first argument: e.g. change "perl -n -T" to "perl -T -n". If the Perl script is being executed as "perl scriptname", then +the -T option must appear on the command line: "perl -T scriptname".

Replies are listed 'Best First'.
Re: Re: Taint Mode
by kryberg (Pilgrim) on Sep 25, 2002 at 13:58 UTC
    That is exactly what I was looking for! Bookmarked it for future use. Thanks.