RECENT POSTS

P5-file-find-object

May 26, 2018

Object oriented File::Find replacement

FileFindObject does same job as FileFind but works like an object and with an iterator. As FileFind is not object oriented, one cannot perform multiple searches in the same application. The second problem of FileFind is its file processing after starting its main loop, one cannot easily wait for another event an so get the next result.

With FileFindObject 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/