diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-09 19:02:43 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-09 19:02:43 +0000 |
commit | 83bf042f79af6208af0620b081ee65543ecfed9f (patch) | |
tree | d15071a650bd72567ee4a7f5dcd96288f107ef40 /perl.h | |
parent | 0dd3f902b059d48560ea071c6510375fd9426efb (diff) | |
download | perl-83bf042f79af6208af0620b081ee65543ecfed9f.tar.gz |
Fixes the case of $a = \$#{[]}; and then accessing $$a
(but not \$#a after local @a or my @a leave a block)
p4raw-id: //depot/perl@24783
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -3805,7 +3805,8 @@ enum { /* pass one of these to get_vtbl */ want_vtbl_regdatum, want_vtbl_backref, want_vtbl_utf8, - want_vtbl_symtab + want_vtbl_symtab, + want_vtbl_arylen_p }; /* Note: the lowest 8 bits are reserved for @@ -4165,6 +4166,17 @@ MGVTBL_SET( ); MGVTBL_SET( + PL_vtbl_arylen_p, + NULL, + NULL, + NULL, + NULL, + MEMBER_TO_FPTR(Perl_magic_freearylen_p), + NULL, + NULL +); + +MGVTBL_SET( PL_vtbl_glob, MEMBER_TO_FPTR(Perl_magic_getglob), MEMBER_TO_FPTR(Perl_magic_setglob), |