New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tied hash store loses value regexpness #13679
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgGenerally, a value assigned to an element of a tied hash gets passed $ perl -MDevel::Peek -lwe '$a{x} = ${qr/foo/}; Dump $a{x}' And here's what happens with a tied hash: $ perl -lwe '{ package Foo; use Devel::Peek; sub TIEHASH { bless({}, $_[0]) } sub STORE { Dump $_[2] } } my %a; tie %a, "Foo"; Note that the value in the scalar received by the STORE method is a plain Perl Info
|
From @rjbsThis program may more clearly demonstrate the problem for other readers: use 5.19.9; my $qr = qr/foo/; { { -- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#121477 (status was 'open')
Searchable as RT121477$
The text was updated successfully, but these errors were encountered: