Perl: the Markov chain saw | |
PerlMonks |
Re: perl -T script.pl and #!/usr/bin/perl -T conflictby KM (Priest) |
on Jan 24, 2001 at 23:34 UTC ( [id://54089]=note: print w/replies, xml ) | Need Help?? |
I assume you mean the 'Too late for "-T" option at script.pl line 1.' error.
This happens because you have run perl without -T, then when it examines the #! line
and sees -T, it realizes you want tainting, but it is too late. You need to make sure -T is
passed when using 'perl script.pl'. I know of no way around this, as opposed to aliasing 'perl'
with 'perl -T' or some similar lunacy.
Cheers,
In Section
Seekers of Perl Wisdom
|
|