I am looking for a way to collect filenames into a list with Perl. For example, I go into a folder with a hundred different filenames ranging from text files to MP3, and I would like to put each and every filename in a list. How would I do that? I was looking everywhere and cannot seem to figure it out. I have gotten as far as using the `chdir` function but I can't seem to read the filenames and print them. Can anyone help?