This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #27010] Make tie work through defelems
authorFather Chrysostomos <sprout@cpan.org>
Tue, 16 Jul 2013 06:51:15 +0000 (23:51 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 16 Jul 2013 07:26:02 +0000 (00:26 -0700)
commit13733cde3fe669aafa0a2a598b5b45d024fb3b86
tree34c6d12801583e3d88fe5372be078965373b8f0e
parentd4431b89a00a340cc459be515feeb6c274012420
[perl #27010] Make tie work through defelems

When elements of @_ refer to nonexistent hash or array elements, then
the magic scalar in $_[0] delegates all set/get actions to the element
in represents, vivifying it if needed.

tie/tied/untie, however, were not delegating to the element, but were
tying the the magical â€˜deferred element’ scalar itself.
embed.fnc
embed.h
mg.c
pp_sys.c
proto.h
t/op/tie.t