On Tue, 2008-08-05 at 13:02 +0200, Oliver Block wrote:
> Hello everybody,
>
> my $obj = MYCLASS->new( ... );
>
> I wonder if there are ways to save $obj with all its members to disc or
> a database table?
>
> Best Regards,
>
> Oliver Block
>
>
You can use the Storable package, see `perldoc Storable`. I'm not sure
it will work with objects, that is, that is will bless a retrieved
object to its class. If not, you would have to do it yourself.
--
Just my 0.00000002 million dollars worth,
Shawn
"Where there's duct tape, there's hope."
"Perl is the duct tape of the Internet."
Hassan Schroeder, Sun's first webmaster
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/