Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: jjore [...] cpan.org
Cc:
AdminCc:

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



Subject: Overloaded ${} magic in dumped data is not bypassed
The overloaded method ${} is called and not bypassed when DDS dumps an item. In several places you say $$item without checking for overloading and bypassing it. use Data::Dump::Streamer; my $o = bless \ [], 'T'; my $d = Dump(); $d->Data( $o ); # dies with ${} dereferring $d->Out; package T; use Carp 'confess'; use overload( '${}' => sub { confess "No \${} should happen" }, '""' => sub { confess "No \"\" should happen" } );
From: jjore [...] cpan.org
The follow patch updates DDS to 1.11, corrects the problem, and adds tests to check for the problem.

Message body is not shown because it is too large.