in reply to Re^2: Making a variable in a sub retain its value between calls
in thread Making a variable in a sub retain its value between calls

Ah, my bad.
I was a little confused what he was getting at. Also was thinking "well you could use a global but that would not be so elegant.." etc. I guess there is a good time to use closures like above.
Thanks!
Matt
  • Comment on Re^3: Making a variable in a sub retain its value between calls