http://www.perlmonks.org?node_id=483117

tech2040 has asked for the wisdom of the Perl Monks concerning the following question:

Greetings all, I am trying to automate a few small file processes using perl. I need to create a script that will read a given linux directory, find all of the JPEG files and list the file names in a plain text file. The problem is that I have no idea how to do this in perl. I need help... ...please help me. Any assistance will be greatly appreciated.

2005-08-16 Retitled by Arunbear, as per Monastery guidelines
Original title: 'File IO'