source:
for-distributions/trunk/bin/windows/perl/lib/tainted.pl@
14489
Last change on this file since 14489 was 14489, checked in by , 17 years ago | |
---|---|
File size: 164 bytes |
Line | |
---|---|
1 | # This subroutine returns true if its argument is tainted, false otherwise. |
2 | |
3 | sub tainted { |
4 | local($@); |
5 | eval { kill 0 * $_[0] }; |
6 | $@ =~ /^Insecure/; |
7 | } |
8 | |
9 | 1; |
Note:
See TracBrowser
for help on using the repository browser.