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.
Results (276 votes),