Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
C Perl C++ Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is a simple, efficient way to get a recursive list of all files under a specified directory. It implements a typical iterator interface, making it simple to convert code that processes a list of files to use this instead. The directory is read as the list is consumed, so memory overhead is minimal. The front end module simply loads the appropriate backend; either Directory::Iterator::PP or Directory::Iterator::XS. With the pure-perl backend, the speed is equivalent to File::Find; the XS backend is a few times faster. INSTALLATION To install these module type the following from each subdirectory: perl Makefile.PL make make test make install DEPENDENCIES The front end module requires these other modules and libraries: Directory::Iterator::PP - The pure-perl backend If available, the recommended Directory::Iterator::XS will be used instead as it is a few times faster. COPYRIGHT AND LICENSE Copyright (C) 2012 by Steve Sanbeg This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.