in reply to Re^3: Perl logical operators
in thread Perl logical operators
Yeah, but I'd really like to see it become the default.
Were I to do it, I'd make strict/warnings default, and provide an environment variable to control it. Something like:
PERL5STRICT:My second preference (should people dislike the idea of changing the default behavior even with a global override) would be to use this behavior if you invoke perl as perl5, and when you invoke it as perl it would do as it does currently (i.e., act as if PERL5STRICT is 0). That way, I could just link perl to perl5 and change my typical shebang line to:
#!env perl5
Hmmmm .... I wonder if they would accept a patch? I doubt it would be very difficult, and I currently have some free time on my hands.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl logical operators
by Your Mother (Archbishop) on Jul 18, 2018 at 18:51 UTC | |
by roboticus (Chancellor) on Jul 18, 2018 at 20:22 UTC | |
|
Re^5: Perl logical operators
by Anonymous Monk on Jul 19, 2018 at 09:21 UTC | |
by roboticus (Chancellor) on Jul 19, 2018 at 15:55 UTC | |
by Anonymous Monk on Jul 10, 2019 at 22:57 UTC | |
by Anonymous Monk on Jul 10, 2019 at 22:59 UTC |