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.
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (192 votes). Check out past polls.