Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / 5.8.0 / tainted.pl
CommitLineData
86530b38
AT
1# This subroutine returns true if its argument is tainted, false otherwise.
2
3sub tainted {
4 local($@);
5 eval { kill 0 * $_[0] };
6 $@ =~ /^Insecure/;
7}
8
91;