http://qs321.pair.com?node_id=682653


in reply to Get File list from the path

File::Finder is an option too.
use File::Finder; my @files = File::Finder->type('f')->in($dir);