SPUG: Re: Storable and DBI

Ryan Parr ryanparr at thejamescompany.com
Sun Oct 27 13:44:00 CST 2002


I would assume that because the DBI object needs to be instantiated by
calling the DBI->connect method, that it would not be properly restored. All
that serialization can do is print out the object, probably a hash
reference, and the name of the class it was instantiated to. So when you
restore you recover the member data stored in the object, but no methods
that were called on the original object can be recalled.

-- Ryan

----- Original Message -----
From: "Creede Lambard" <creede at penguinsinthenight.com>
To: <spug-list at pm.org>
Sent: Saturday, October 26, 2002 5:08 AM
Subject: SPUG: Storable and DBI



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org




More information about the spug-list mailing list