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


in reply to Putting a filename as a parameter to a perl script then reading from it in the code?

The variable @ARGV contains the command line options. perlintro has examples for opening files and reading them line by line.

  • Comment on Re: Putting a filename as a parameter to a perl script then reading from it in the code?