. is the current directory and .. is the parent directory.
It seems like you are treating all your directory entries as files, which doesn't work. So explicitly exclude directories:
foreach my $FILE (@FILES){ next if -d $FILE; print $FILE, "\n"; }
In reply to Re: Problem in displaying files
by moritz
in thread Problem in displaying files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |