Skip Menu |

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

Report information
The Basics
Id: 11834
Status: resolved
Priority: 0/
Queue: Data-Dump

People
Owner: Nobody in particular
Requestors: GAAS [...] cpan.org
Cc: gsar [...] sophos.com
AdminCc:

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



Subject: $a = [\$a,\$a]
CC: gsar [...] sophos.com
On 09 Mar 2005 23:11:00 PST, Gisle Aas wrote: Show quoted text
>All output from Data::Dump should evaluate back to the same values >that was given to dump. If not, it's a bug that should be fixed.
Something in Data::Dump needs fixing then. In fact it is the "fix" thingy in Data::Dump that needs fixing. :) I meant this and its variations, where Data::Dump doesn't work and Data::Dumper does: % perl -MData::Dump=dump -l my $a; $a = [\$a,\$a]; print dump($a); print dump(eval dump($a) or $@); __END__ do { my $a = [\'fix', \'fix']; ${$a->[0]} = $a; ${$a->[1]} = $a; $a; } () "Modification of a read-only value attempted at (eval 1) line 3.\n"