in reply to Re: aborting File::Find::find
in thread aborting File::Find::find
I found this by looking under the File::Find covers.find(sub { ...; --$fnlinks or last Proc_Top_Item; }, $dir);
Now that I think about it, this sounds like the sanest solution. Of course I mean a patch to File::Find where you can either set some flag or pass in a closure that evaluates to true to determine if it can terminate early which is checked each loop.
Cheers - L~R
|
---|