Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Unexpected Data::Dumper results

by choroba (Cardinal)
on Apr 27, 2013 at 13:46 UTC ( #1030990=note: print w/replies, xml ) Need Help??


in reply to Unexpected Data::Dumper results

Before dumping the original value, you should have set
$Data::Dumper::Purity = 1;

It leads to the following output:

$VAR1 = { 'shared' => \'true', 'parents' => [ { 'isRoot' => do{my $o} } ] }; $VAR1->{'parents'}[0]{'isRoot'} = $VAR1->{'shared'};
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Unexpected Data::Dumper results
by tqisjim (Beadle) on Apr 27, 2013 at 14:04 UTC
    Thanks! Just what I needed!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1030990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2023-12-07 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (32 votes). Check out past polls.

    Notices?