Not a bug, but a very good case can be made for having strictures enabled by default. One has only to notice that about 30% of the "why doesn't this work" questions in SoPW would have been caught by OP if strictures had been included in OP's code to see that that is a good idea.
DWIM is Perl's answer to Gödel
| [reply] [Watch: Dir/Any] |
There are a number of things I'd like to see done differently by default in Perl, including the strict pragma being on by default (though I'm not so sure about warnings) — and also default lexical scope so that I don't have to use my() all the time, and so that autovivification would create lexically scoped variables.
print substr("Just another Perl hacker", 0, -2); |
|
- apotheon
CopyWrite Chad Perrin |
| [reply] [Watch: Dir/Any] [d/l] |