projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
For tied file handle calls, use PUSH* when we know that the stack has space.
[p5sagit/p5-mst-13.2.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;