Perl 5.12: STORE/FETCH of tie()d hash get literal stringref key stringified #10824
Comments
From polarcluster@gmail.com# Perl 5.12: STORE/FETCH of tie()d hash get literal stringref key tie %a, 'Foo'; $a{\'foo'} = undef; # 5.10.1 prints: 'SCALAR'; 5.12.0 - 5.12.2 prints '' $stringref = \'foo'; $a{\$scalar} = undef; # prints 'SCALAR' package Foo; |
From @cpansproutFixed by 04698ff. |
@cpansprout - Status changed from 'new' to 'resolved' |
From @cpansproutOn Sat Nov 27 07:16:42 2010, sprout wrote:
But that only fixed $hash{\"ref"}. 649c173 fixes $hash{+undef_constant}, which could arguably also belong -- Father Chrysostomos |
Migrated from rt.perl.org#79178 (status was 'resolved')
Searchable as RT79178$
The text was updated successfully, but these errors were encountered: