$ perl -wE' foo("bar"); sub foo() { 1; } ' main::foo() called too early to check prototype at -e line 2. #### $ perl -wE' sub foo() { 1; } foo("bar"); ' Too many arguments for main::foo at -e line 3, near ""bar")" Execution of -e aborted due to compilation errors.