Update: Seems a bit harsh to downvote me for giving some code that answers the question...use File::Find; find(\&wanted, $ARGV[0]); my %dir = (); sub wanted { if ($dir{$File::Find::dir}++ < 10) { print $File::Find::name, "\n"; } }
gav^
In reply to Re: Limit Find();
by gav^
in thread Limit Find();
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |