[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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