I had trouble with getting the BEGIN block to work. Didn't know what to do with quotes, semicolons, braces in the area shown as ... your original perl code goes here ... before the second double quote. Could you give me an example of matching a string or replacing a string using the BEGIN block and the @ARGV array in Win 7?

I tried a few things on my own, but didn't get anywhere with this, and have a feeling that this is an important concept for me to get.