Perl Program listing files in a directory
Posted on 2008-06-21
I'm a beginner at creating perl programs. How can I create a program that will list files in a directory and provide a user with 3 command line options. They should be able to specify a directory, which I think you use the -d option, also they can display a long listing of the files, I think you use the -l and allow them select no options. Also, when the files are listed they should be sorted by the filename. I'm new to creating perl programs, not sure how to accomplish this.