http://www.perlmonks.org?node_id=725243


in reply to Syntax error near Print

If that's the actual error message, it doesn't look like a Perl error message to me. Perhaps the code isn't getting anywhere near the perl interpreter in the first place? Check your server configuration...