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


in reply to How can a user specify a input folder

I want to code my perl script to ask the user to type in the folder name, and then the script should run through all of the text files within.

Let me propose another way: let the user supply the value at the command line. That's much more convenient to use and test. You can find the command line arguments in @ARGV.

  • Comment on Re: How can a user specify a input folder