Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: To taint or not to taint?

by ELISHEVA (Prior)
on Mar 22, 2009 at 06:18 UTC ( #752351=note: print w/replies, xml ) Need Help??


in reply to To taint or not to taint?

I like to write code that works under taint because it increases the number of contexts where my code can be used.

You may already be aware of this, but one can significantly reduce the number of pointless taint complaints simply by setting $ENV{PATH}=''; $ENV{CDPATH}=''; or other known (untainted/detainted) value. This applies to a few other variables, like IFS, as well. See perlsec for details.

Best, beth

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://752351]
help
Chatterbox?
[Tabish]: Hi to everyone :). Can i use cgi table in package index.pm to return data in test.pl?
[Tabish]: return data in table

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-12-13 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (350 votes). Check out past polls.

    Notices?