App-pltest
view release on metacpan or search on metacpan
1st two are equivalent, except that the 1st one isn't limited by Shell line
length limitations. The third again greps by file size, reading only the Perl
modules less than 1kB:
pltest -nA '<*.pm>' '...'
pltest -n '...' *.pm
pltest -nA '<*.pm>' -A '{ (stat)[7] < 1000 }' '...'
=item C<-a>
I<perl:> Autosplit mode with B<-n>/B<-p> (splits C<$_> into C<@F(IELD)>).
=item C<-bI<prog>>
Run program before reading a new file in B<-n>/B<-p>.
=item C<-BI<prog>>
Add program before main program in same scope. So you can use it to
initialise C<my> variables. Whereas, if you define a my variable in the main
program of a B<-n>, B<-p>, B<-P>, B<-o> or B<-O> loop, it's a new variable on
( run in 2.649 seconds using v1.01-cache-2.11-cpan-adec679a428 )