fixed parser.pl to compile with use strict, and use warnings.