On Wed, Sep 30, 2009 at 1:10 PM, Bill Moseley <[email protected]> wrote:
> $VERSION = '0.08111';
>
> Ok, starting simple, what's the correct way to store and retrieve dbic row
> objects from Storable?
> Unable to restore schema at ../../lib/Storable.pm (autosplit into
> ../../lib/auto/Storable/thaw.al) line 415
> calling ->cds on deserialized object
> Can't call method "source" on an undefined value at
> /usr/local/share/perl/5.10.0/DBIx/Class/R
The error message is clever in 0.08112. You need to 'freeze' and
'thaw' your dbic row. Look at DBIC::Schema docs about it.
--
wallace reis/wreis Catalyst and DBIx::Class consultancy with a clue
Software Engineer and a commit bit:
http://shadowcat.co.uk/catalyst/
Shadowcat Systems Limited
http://www.shadowcat.co.uk http://www.linkedin.com/in/wallacereis
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]