What is this "before" that you speak of? The order of entries in a directory mayn't be the order that you think. It's best not to rely on a particular ordering and impose your own.
That said, it would be a nice if there were a mechanism to immediately stop the recursion of File::Find::find(). You can achieve that the poor man's way though:
my $stop_the_insanity = 0; sub wanted { return if $stop_the_insanity; ... # some condition that sets $stop_the_insanity ... } find(\&wanted, @paths);
In reply to Re: File::Find exit
by Anonymous Monk
in thread File::Find exit
by sweetblood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |