Help for this page
#!/usr/bin/env perl -l ... my @files = grep { -f "$scandir/$_" } readdir $dh; print for @files;