in reply to Re^2: Variable scopein thread Variable scope
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.