File::Next is an iterator-based module for finding files. It's lightweight, has no dependencies, runs under taint mode, and puts your program more directly in control of file selection.
It's taken mostly from Mark Jason Dominus' excellent book "Higher Order Perl".
To install this module, run the following commands:
perl Makefile.PL make make test make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the perldoc command.
You can also look for information at:
AnnoCPAN, annotated CPAN documentation:
COPYRIGHT AND LICENSE
Copyright 2005-2016 Andy Lester.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.