If you wanted to use that all the time, then PERL5OPT is one solution:
$ export PERL5OPT='-Mstrict' $ perl -e '$x = 1; print qq{$x\n}' Global symbol "$x" requires explicit package name at -e line 1. Global symbol "$x" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors. $
🦛
In reply to Re^2: use strict without typing use strict?
by hippo
in thread use strict without typing use strict?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |