I'm attempting to write a script that would be called as: script.pl file word from a shell. I've seen a lot of examples that show how to do something like this with the file hardcoded, and only a few command line with the 'my' function. I've read the perldoc of 'my' and don't quite understand how to use it.