in reply to Re^4: Writing tests when you don't know what the output should be
in thread Writing tests when you don't know what the output should be

Note that IO::Dir has a ton of failing tests, 39 open tickets, and hasn't been updated since 2k9.

You might want to look at something like File::Find::Rule:

my @files = File::Find::Rule->file() ->name( '*.pl' ) ->in( ($args->{dir_name}) );