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.
Yes, I watch meteor showers
No, I do not watch meteor showers
My meteors prefer to bathe
Results (174 votes). Check out past polls.