Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Dumper CPAN distribution.

Report information
The Basics
Id: 48099
Status: new
Priority: 0/
Queue: Data-Dumper

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: wrong array element ref shown
Date: Thu, 23 Jul 2009 07:34:44 +1000
To: bug-Data-Dumper [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With Data::Dumper 2.124 and recent debian i386 perl 5.10.0, the program foo.pl prints $aref = [ {}, $aref->[0], \$aref->[0] ]; where I hoped the last entry would be \$aref->[1] which is how the structure has been created. aref->[0] and aref->[1] contain the same value, but if I believe they're distinct scalars and a reference to one of them is not the same as a reference to the other.