in reply to Re^4: Why does this sub grab the whole hash
in thread Why does this sub grab the whole hash
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.
|
|---|