in reply to Scanning a directory's files for readability

You have Path::Class so you shouldn't even be thinking about readdir -- readdir is the devil

my @files = dir( $dirpath )->absolute->children();

  • Comment on Re: Scanning a directory's files for readability (Path::Class)