- or download this
use Data::Dumper;
my $hashref={
...
....
kN => {...., mydata => MyClass->new(), .... }}}};
print(Dumper($hashref));
- or download this
....
mydata => bless(..., 'MyClass')
....
- or download this
....
mydata => 'MyOwnRepresentation of the MyClass instance'
....
- or download this
sub MyClass::myfreezer { ... }
$Data::Dumper::Freeze='myfreezer'