I think you're slightly misusing find2perl. The idea behind find2perl is that you pass it a find command and it generates a Perl script which does the same thing as the orignal command. You can then run the Perl script instead of the find or find2perl.
So, my solution would be to write a find command that does what you want and then pass that command thru find2perl to generate a Perl script which you can then run any time you want.
--Perl Training in the UK <http://www.iterative-software.com>
In reply to Re: Searching a directory tree
by davorg
in thread Searching a directory tree
by wylie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |