$ perl -Mstrict -E'$hello = "Hi"; say $hello' Global symbol "$hello" requires explicit package name at -e line 1. Global symbol "$hello" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.