http://www.perlmonks.org?node_id=682575


in reply to Re: Get File list from the path
in thread Get File list from the path

another alternative would be to use File::Util
use File::Util; my($f) = File::Util->new(); my($dirs, $files) = $f->list_dir('your/root/directory', qw/--recur +se --as-ref/);
see File::Util for details