in reply to Re^2: Ghostly subroutine variables haunting me in subsequent calls
in thread Ghostly subroutine variables haunting me in subsequent calls

Presumably, if you are creating a closure for a useful purpose, you already know davido's advice doesn't apply. I agree with him that it is "one of the worst things you can do..." unless, of course, you happen to be doing it on purpose. I don't think he really needs to include that caveat... Do you?

† Well, one of the worse in terms of creating hard to find bugs in your Perl programs, anyway. It's not like homicide or something... (-:

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re^3: Ghostly subroutine variables haunting me in subsequent calls