From my experience, using state in a named subroutine is a code smell.
That depends on the life span of the code. The older it gets, the more it reeks of foul.
In reply to Re^3: Variable scope
by shmem
in thread Variable scope
by Alphaphi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |