mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
4d095e7b5d
replacement. PR: ports/100314 Submitted by: Gea-Suan Lin <gslin at gslin.org>
12 lines
527 B
Plaintext
12 lines
527 B
Plaintext
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 easilly 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: http://search.cpan.org/dist/File-Find-Object/
|