You can also set $Storable::forgive_me=1; and you'll still get the warning but no error.
We found that if we used function references in some places this would pop up. -----Original Message----- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 8:49 AM To: Scott Chapman; [EMAIL PROTECTED] Subject: Re: Storable not working under Embperl? > I get this error when trying to store something using Storable and this is > working fine elsewhere in my code. I'm not storing any CODE items that I'm > aware of! > > [849]ERR: 24: Error in Perl code: Can't store CODE items at > blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_store.al) line 199, at > /www/htdocs/reviews/scott-zgxvrzcx/quest1.epl line 81 > Apache/1.3.23 (Unix) mod_perl/1.26 HTML::Embperl 2.0b5 > Storable should be useable in EMbperl as in any other Perl code. I would try to store simple test data (not %fdat) and see if you get the same error. If not try a to output %fdat via Data::DUmper before you store and and see what may cause the problem Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
