Copy PADTMPs explicitly returned from lv subs
authorFather Chrysostomos <sprout@cpan.org>
Thu, 23 Jun 2011 01:37:59 +0000 (18:37 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 23 Jun 2011 13:04:00 +0000 (06:04 -0700)
commit80422e24c8b2c134c9ee2ac7d87aa9f750192f20
treee494feb847da892a228ffb382421b6cb854786a3
parent37395ff5f2b5fa17c5b7cebede056b6742e28e46
Copy PADTMPs explicitly returned from lv subs

I don’t believe this changes any observable behaviour, Devel::Peek
aside.  If it does, it fixes bugs.

I am making this change for two reasons:
• PADTMPs can be a bit buggy and letting them escape their subroutines
  can make the bugs harder to fix.
• This brings explicit and implicit return from lvalue subroutines one
  step closer (for the sake of merging the code).
pp_ctl.c