perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: udat and objects
Date Tue, 02 Dec 2003 15:25:47 GMT
Hi,
>
> Is it correct, that it is impossible to store blessed references (Perl
> objects) in udat? Same for mdat?
>

You can store blessed references and objects.

> If yes, is there any workaround? Maybe serializing the object first
> with Storable or something like this? But if i interpreted the mails
> in the archive correct this still will not work with DBI-Connections?
>

You can't store a DBI handle (or file handle). How do you want to store a
handle in a database or flat file, that might be picked up by a different
process...

> Is there a way to use only one DBI-Connection for the whole
> application?
>

Take a look at Apache::DBI

Gerald


> Benni

--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message