in reply to Creating threads inside BEGIN blocks

On a minor note, in some implementations of Perl, returning a closure from a thread may cause the interpreter to crash. At a minimum, it will result in an (apparently harmless) warning of leaked scalars when the interpreter exits.
  • Comment on Re: Creating threads inside BEGIN blocks