Think about Loose Coupling | |
PerlMonks |
How can I tell if a variable is tainted?by faq_monk (Initiate) |
on Oct 08, 1999 at 00:27 UTC ( [id://689]=perlfaq nodetype: print w/replies, xml ) | Need Help?? |
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version:
See Laundering and Detecting Tainted Data. Here's an example (which doesn't use any system calls, because the
sub is_tainted { return ! eval { join('',@_), kill 0; 1; }; }
This is not
|
|