Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Workaround available for 'Too late for "-T" option' error message??

by thinker (Parson)
on Nov 29, 2002 at 14:43 UTC ( [id://216533]=note: print w/replies, xml ) Need Help??


in reply to Workaround available for 'Too late for "-T" option' error message??

Hi martymart,

from 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 envi-
           ronment.  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
           fixed 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".


Hope this helps

thinker
  • Comment on Re: Workaround available for 'Too late for "-T" option' error message??

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://216533]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2024-04-24 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found