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?


BTW -- in MooseX::Storage::Basic the docs use "insert" but the key is
"inject".

*unpack ($data [, insert =* { key => val, ... } ] )>

Providing the insert argument let's you supply additional arguments to the
class' new function, or override ones from the serialized data.

Thanks,

-- 
Bill Moseley
mose...@hank.org

Reply via email to