I don't see how any of these suggestions help in this situation. You still need to put the initialization into a BEGIN block (for the first two suggestions) which means the declaration needs to be separated from the initialization (except in the second case, where they are already separated) or else the variable won't be of any use outside of the BEGIN block.
So to use any of the suggestions you made, you'd still need the declaration separated from the initialization.
- tye
In reply to Re^2: BEGIN, strict, and variable assignment (?)
by tye
in thread BEGIN, strict, and variable assignment
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |