And that's why people always recommend to usestrict; -- it complains about undeclared variables, so it forces you to think about where to put the declaration. And you only put the declaration outside the subroutine if that's your conscious choice.
In reply to Re^5: Why does this sub grab the whole hash
by moritz
in thread Why does this sub grab the whole hash
by naturalsciences
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |