How would it transfer to the user's code if it didn't callback? File::Recurse only populates a hash with filenames keyed by directory; it doesn't call anything.
I think a callback is natural; however, there might also be an interface that populates hashes or arrays.
|Replies are listed 'Best First'.|
(tye)Re2: File::Find bummers on an NFS volume.
by tye (Sage) on Aug 01, 2001 at 22:12 UTC
by bikeNomad (Priest) on Aug 01, 2001 at 22:58 UTC