The -c Switch checks the Perl syntax without actually executing the Perl commands
perl -c script.pl //File: script.pl print "hello'; print "hello";