Help for this page
opendir(DIR,$dirpath); my @A = readdir DIR; ... ... my $entry = shift $A; ...
if (-f "$dirpath/$entry")