Subject: | Data::Dump dies where Data::Dumper succeeds |
## This is perl, v5.8.0 built for i386-linux-thread-multi
I have a hash containing a class that dumps like this using
Data::Dumper:
$VAR1 = {
'Relays 1' => \bless( {
'len' => 16,
'masks' => [
[
\'1',
0,
1
],
[
\'0',
1,
1
],
[
\'0',
2,
1
],
#### and so on for bits 3..14 ###
[
\'0',
15,
1
]
],
'str' => '0011000011001001'
}, 'Bitfield' )
};
Trying to dump the same with Data::Dump results in:
Modification of a read-only value attempted at /usr/lib/perl5/5.8.0/
overload.pm line 87.