in reply to Processing all files in a directory

Do you want to skip files beginning with a . or do you just want to skip the . and .. directories? If it's the latter you can use the -d file test:
opendir (DIR, $dir) || die "opendir: $dir - $!\n"; foreach my $name (readdir DIR) { my $fullPath = $dir . "/" . $name; next if (-d $fullPath); }
-- vek --