[Omaha.pm] use Storable; vs. Log::Log4perl

Jay Hannah jay at jays.net
Sat Jan 13 11:10:13 PST 2007


Bummer. I can't use Storable on Log::Log4perl objects...

    Or any object which has a Log::Log4perl in it...

        which is approximately all of my objects since I'm a big fan of 
Log::Log4perl...

j


$ cat j.pl
use Storable;
use Log::Log4perl;
Log::Log4perl::init('/Users/jhannah/src/openlab/conf/log4perl.cfg');
my $logger = Log::Log4perl->get_logger('OpenLab');
store $logger, 'logger';

$ perl j.pl
Can't store CODE items at blib/lib/Storable.pm (autosplit into 
blib/lib/auto/Storable/_store.al) line 215, at j.pl line 10



More information about the Omaha-pm mailing list