hardburn has asked for the wisdom of the Perl Monks concerning the following question:
I have a rather long shabang line on my server: '#!/usr/local/bin/perl5.8.0'. Using a -T, even as the first option, spews errors because the -T comes too late in the line.
Now the way to shut off taint mode within a lexical scope is "no re 'taint'", but is it OK to do the opposite?
#!/usr/local/bin/perl5.8.0 use re 'taint'; ...
Personally, I find this method more asethetic than -T, even if the shabang line wasn't too long.
Is there anything naive about doing it this way?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: -T or "use re 'taint'"
by Abigail-II (Bishop) on Nov 22, 2002 at 16:30 UTC | |
|
Re: -T or "use re 'taint'"
by joe++ (Friar) on Nov 22, 2002 at 16:25 UTC | |
by hardburn (Abbot) on Nov 22, 2002 at 16:56 UTC | |
|
Re: -T or "use re 'taint'"
by John M. Dlugosz (Monsignor) on Nov 22, 2002 at 20:59 UTC |