in reply to Re^3: Fastest way to minimally check that file contains perl code?
in thread Fastest way to minimally check that file contains perl code?

> it is actually compiling Perl (with Moose or something equally heavy)

Well, after the timeout you'd only have proven (again and again) that Moose contains Perl, the file in question could still be just garbage starting with use Moose

But yeah, this should be sufficient for the 80% threshold. :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^4: Fastest way to minimally check that file contains perl code?
  • Download Code