@filtered_directory = grep !/^[.]{1,2}$/, @directory; [download]
In reply to Remove '.' and '..' from a list of filenames by princepawn