in reply to Remove '.' and '..' from a list of filenames
@filtered_directory = grep { $_ ne '.' && $_ ne '..' } @directory [download]