|
|
| No such thing as a small change | |
| PerlMonks |
Re: Re: Why use taintby rob_au (Abbot) |
| on Mar 09, 2002 at 20:24 UTC ( [id://150639]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
While not as absolute as a taint pragma, the Taint module offers the ability to introduce taint checkpoints in your code. For example:
While not as encompassing as a taint pragma, these checkpoints, if placed correctly can tighten up your code without invoking the entire script with the -T. The use of this module however does require some forethought and understanding of tainted data and identification of vunerable execution points within your code.
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||