arthas has asked for the wisdom of the Perl Monks concerning the following question:
Hi All!
I've got a question about Perl pragmas. I know that instead of -w compiler switch, I can say:
use warnings;at the top of my code, which is a lot cooler. ;-) Also, I can specify other interesting pragmas such as diagnostics and strict.
My question is: why isn't there a taint pragma? Without it, one is forced to use the -T interpreter switch in the shebang line. Is there a reason (something that has to do with perl internals) that motivates it's absence? This is not a big problem at all, but I'm kinda curious. ;-)
Thanks, Michele.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: use taint
by Tomte (Priest) on Jun 21, 2004 at 14:28 UTC | |
Re: use taint
by hardburn (Abbot) on Jun 22, 2004 at 13:17 UTC | |
by Tomte (Priest) on Jun 23, 2004 at 09:02 UTC | |
by hardburn (Abbot) on Jun 23, 2004 at 12:35 UTC |
Back to
Seekers of Perl Wisdom