|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Turning on Taint in mod_perl after compile time or in specific packages only?by Rhandom (Curate) |
| on Aug 07, 2008 at 21:57 UTC ( #703009=note: print w/ replies, xml ) | Need Help?? |
|
<Superhero>
This looks like a job for Taint::Runtime
</Superhero>
Taint::Runtime documentation goes into detail about why it is a bad idea to do runtime tainting. But just because it is bad in general cases doesn't mean it is bad in thoroughly covered cases. The big danger is making sure data streams that were set up prior to the handler invocation are properly tainted.
my @a=qw(random brilliant braindead); print $a[rand(@a)];
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||