in reply to Re^2: Pad variables without sigils?
in thread Pad variables without sigils?

I don't remember the details, but some ops store state data in the TARG field (e.g. regex opcodes). When Perl is compiled with ithreads support, the opcode tree is shared between interpreters, so storing data in the optree creates concurrency problems. In that case the SV* is moved to an unnamed scratchpad entry and the TARG field contains an index into the pad instead of the SV* itself.
  • Comment on Re: Re^2: Pad variables without sigils?