in reply to use strict without typing use strict?
The only thing I could see at perlrun was the -M switch. For example:
> perl -c -Mstrict -e "my $fred = 42" -e syntax OK
> perl -c -Mstrict -e "$fred = 42" Global symbol "$fred" requires explicit package name (did you forget t +o declare "my $fred"?) at -e line 1. -e had compilation errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use strict without typing use strict?
by LanX (Saint) on May 26, 2021 at 09:15 UTC | |
by eyepopslikeamosquito (Archbishop) on May 26, 2021 at 09:35 UTC | |
|
Re^2: use strict without typing use strict?
by hippo (Archbishop) on May 26, 2021 at 09:23 UTC | |
by Fletch (Bishop) on May 26, 2021 at 12:53 UTC |