>perl -wMstrict -le "sub foo () { print 'hi, i am foo'; } ;; main::foo('this is an argument'); " Too many arguments for main::foo at -e line 1, near "'this is an argument')" Execution of -e aborted due to compilation errors.