opnsense-ports/devel/p5-File-Find-Object/pkg-descr
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
526 B
Text

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: http://search.cpan.org/dist/File-Find-Object/