$ perl -c -e'method $foo <>;' syntax error at -e line 1, near "<>" -e had compilation errors. $ perl -c -e'method $foo ;' -e syntax OK