in reply to Re^3: Access a global variable from a subroutine when used as "for" iterator
in thread Access a global variable from a subroutine when used as "for" iterator

It was just to simplify the maintenance of a special portion of the code at the expense of supporting functions/methods. The full story is here.

  • Comment on Re^4: Access a global variable from a subroutine when used as "for" iterator