Taint - Perl extension to taint variables
use Taint; taint($taintvar[, $anothervar[, $yetmorevars]]); $bool = tainted($vartocheck);
taint() marks its arguments as tainted.
tainted() returns true if its argument is tainted, false otherwise
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.
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 only taints scalars, and a typeglob isn't one.
You tried to taint a reference, which you just can't do.
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.
my $foo; taint($foo);
will trigger this error.
Dan Sugalski <firstname.lastname@example.org>