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.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (346 votes). Check out past polls.