Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Directory-Iterator-PP
Directory-Iterator-XS
Directory-Iterator
.travis.yml
LICENSE
Makefile
README
test-dists.sh

README

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.


You can’t perform that action at this time.