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
Dumper screws up aliasing of array elements #14467
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgSetting the Purity option is supposed to make Dumper emit correct $ perl -MData::Dumper=Dumper -we '@a=(3,0); $a[1] = \$a[0]; print Dumper \@a' But if I put the same array elements the other way round, Dumper gets $ perl -MData::Dumper=Dumper -we '$Data::Dumper::Purity=1; @a=(0,3); $a[0] = \$a[1]; print Dumper \@a' The mention of $VAR1->[0] comes too early, before $VAR1 has been set to $VAR1 = [ Perl Info
|
Migrated from rt.perl.org#123722 (status was 'new')
Searchable as RT123722$
The text was updated successfully, but these errors were encountered: