home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1997 / CT_SW_97.ISO / mac / Software / entwickl / win95 / pw32i306.exe / lib / tainted.pl < prev    next >
Text File  |  1994-10-18  |  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.