home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _4f27b2ce7004807e8e2b2aac41f6a995 < prev    next >
Text File  |  2000-03-15  |  173b  |  10 lines

  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;
  10.