in reply to Re: use strict without typing use strict?
in thread use strict without typing use strict?
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. $
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: use strict without typing use strict?
by Fletch (Bishop) on May 26, 2021 at 12:53 UTC |