Back to labs/answer key page
Change the two open commands to these:
#Open the input file. open(INPUT, "$ARGV[0]"); #Open the output file. open(OUTPUT, ">$ARGV[0].out");