Taint - Perl extension to taint variables
use Taint; taint($taintvar[, $anothervar[, $yetmorevars]]); $bool = tainted($vartocheck);
taint() marks its arguments as tainted.
taint()
tainted() returns true if its argument is tainted, false otherwise
tainted()
You attempted to taint something untaintable, such as a constant or expression. taint() only takes lvalues for arguments
A reference to an array was passed to taint. You can only taint individual array items, not array itself.
taint
A reference to a hash was passed to taint. You can only taint individual hash items, not the entire hash.
You passed a coderef to taint. You can't do that.
You passed a typeglob to taint. taint only taints scalars, and a typeglob isn't one.
You tried to taint a reference, which you just can't do.
You tried tainting either a variable set to undef, or your version of perl has more types of variables than mine did when this module was written. Odds are, you're trying to taint a variable with an undef value like, for example, one that has been created (either explicitly or implicitly) but not had a value assigned.
Doing this:
my $foo; taint($foo);
will trigger this error.
Dan Sugalski <sugalskd@osshe.edu>
perl(1).
To install Taint, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Taint
CPAN shell
perl -MCPAN -e shell install Taint
For more information on module installation, please visit the detailed CPAN module installation guide.