On Sun, Feb 12, 2012 at 4:59 PM, Bill Moseley <mose...@hank.org> wrote: > I'm using MooseX::Storage formatted with JSON to move some objects between > machines. If I try and serialize a Class::DBI row object (or whatever it's > called in Class::DBI) MooseX::Storage complains that the class has no > pack() method. > > What should that pack method look like?
With the provision that I don't use Class::DBI ... and haven't in anger in some time ... It would I think look an awful lot like: sub pack { shift->_data_hash() } -Chris