$ perl -Mstrict -e '$test = "foo"' #### Global symbol "$test" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors. #### $ perl -Mstrict -e '$test = "foo"' 2> error.log