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.
|
- apotheon
CopyWrite Chad Perrin |
In reply to Re^3: How do you get around the lexical scoping of use pragmas?
by apotheon
in thread How do you get around the lexical scoping of use pragmas?
by Copper Maiden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |