http://www.perlmonks.org?node_id=334050


in reply to Useful addition to Perl?

Maybe you could just do it as a module, so you would say this:

perl -MRecurse -ne 'print if _____' somedir/