blob: c4b8cc5b1cfbfe71d9e16aa0aff1c8355e3b7fc5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
File::Find::Object does same job as File::Find but works like an
object and with an iterator. As File::Find is not object oriented, one
cannot perform multiple searches in the same application. The second
problem of File::Find is its file processing: after starting its main
loop, one cannot easily wait for another event an so get the next
result.
With File::Find::Object you can get the next file by calling the
next() function, but setting a callback is still possible.
WWW: https://metacpan.org/release/File-Find-Object
|