From: Chris W. <ch...@cw...> - 2004-04-30 13:09:56
|
On Apr 29, 2004, at 3:18 PM, Ray Zimmerman wrote: > I have a script that uses SPOPS-0.83 that's giving me the follow error > when it exits ... > > (in cleanup) Can't call method "is_debug" on an undefined > value at /usr/local/perl-5.8.2/lib/site_perl/5.8.2/SPOPS.pm line 179 > during global destruction Gah! This is the second time the DESTROY method has screwed me in recent months -- the other is in Apache::Session. It has to do with the order in which objects are destroyed -- the $log is a lexical reference to a singleton in Log4perl, and apparently that singleton gets destroyed before all the SPOPS objects. I'll just change this to first see if the $log variable is defined. Thanks for the report, Chris -- Chris Winters Creating enterprise-capable snack systems since 1988 |