$ 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. #### $ perl -Mstrict -E'my $hello = "Hi"; say $hello' Hi $ perl -Mstrict -E'our $hello = "Hi"; say $hello' Hi #### $ perl -Mstrict -E'$World::hello = "Hi"; say $World::hello' Hi #### $ perl -Mstrict -E'no strict qw(vars); $hello = "Hi"; say $hello' Hi