Help for this page
.... while (my $file = readdir(DIR)) { ... if ($file) { ...
... while (my $file = readdir(DIR)) { ... } } ...