in reply to Re^3: Get fullpath of file using grep
in thread Get fullpath of file using grep

Not better than chaining, but here:
my @files = grep { my $f = "$dir/$_"; -f $f && $f =~ m/\.dat$/ } readdir($dh);