Posted on 2009-02-17 17:48:12-08 by jdhedden in response to 9975
Re: Compatibility with Data::Dump::Streamer
In each of your OIO classes, you should add an appropriate serialization method for the desired serialization module. In your case, a DDS_freeze() method for Data::Dump::Streamer. That method can then be a wrapper for OIO's dump() method. I think the following may work:
sub DDS_freeze { my $self = shift; my $str = $self->dump(1); return ("Object::InsideOut->pump(\"$str\")", undef, undef); }
Direct Responses: 9990 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.