"my" variable $par_fname masks earlier declaration in same scope at ERRORS.pl line 316 (#1) (W misc) A "my", "our" or "state" variable has been redeclared in the current scope or statement, effectively eliminating all access to the previous instance. This is almost always a typographical error. Note that the earlier variable will still exist until the end of the scope or until all closure references to it are destroyed. syntax error at ERRORS.pl line 300, near "continue" syntax error at eERRORS.pl line 310, near "}" Can't use global $& in "my" at ERRORS.pl line 316, near "uc($&" syntax error at ERRORS.pl line 401, near "log_stdout" syntax error at ERRORS.pl line 641, near "}" syntax error at ERRORS.pl line 734, near "}" syntax error at ERRORS.pl line 743, near "}" Can't redeclare "my" in "my" at ERRORS.pl line 745, near "" syntax error at ERRORS.pl line 782, near "}" Can't redeclare "my" in "my" at ERRORS.pl line 788, near "" ERRORS.pl has too many errors (#2) (F) Probably means you had a syntax error. Common reasons include: ...