in reply to How to list all the things in a directory?
To assuage your platform-dependence fears, it seems to have good coverage according to the CPAN Testers "Perl/Platform Version Matrix".use File::Slurp qw(read_dir); my @things = read_dir($dir, keep_dot_dot => 1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to list all the things in a directory?
by DrHyde (Prior) on May 05, 2010 at 10:30 UTC |