# Removing directory references '.' and '..' from the listing my $rmdir = shift (@file_list); my $rmdir2 = shift (@file_list);