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

Taking this (neat) idea even further you could spin up a worker pool (Parallel::ForkManager or MCE) and you can parallelize and increase the number of files you check in that same maximal time (the question being do you have enough files that the parallelism overhead amortized across all the files is worth that hit).

The cake is a lie.
The cake is a lie.
The cake is a lie.

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