This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove extraneous semicolon from OP_PRIVATE_ONCE.
[perl5.git]
/
lib
/
tainted.pl
1
# This legacy library is deprecated and will be removed in a future
2
# release of perl.
3
# This subroutine returns true if its argument is tainted, false otherwise.
4
#
5
6
sub tainted {
7
local($@);
8
eval { kill 0 * $_[0] };
9
$@ =~ /^Insecure/;
10
}
11
12
1;