From: Chris W. <ch...@cw...> - 2003-06-10 20:32:03
|
Ray Zimmerman wrote: > ... with SPOPS-0.77. Seems _w() is being called with $DEBUG undefined. I > noticed you typically do DEBUG() && _w(), but there are a few cases > where you don't check DEBUG() first. If I add the 'DEBUG() && ' to the > appropriate lines in SPOPS.pm, the problem goes away. Yuck. Changing: my ( $DEBUG ); to: my $DEBUG = 0; at the top of SPOPS.pm should also fix it. (Of course, using something like Log::Log4perl would REALLY fix it.) Sorry about that. Later, Chris |