Re: Warnings after upgrade
Mark Overmeer <[email protected]> Fri, 27 Aug 2004 23:42:28 +0200
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Organization | MARKOV Solutions |
| Message-ID | <[email protected]> |
* Mike Mimic ([email protected]) [040827 18:46]: > I have upgraded module to 2.057 but now I find many > warnings in Apache logs (I use Mail::Box for CGI > scripts): > > Use of uninitialized value in numeric ge (>=) at > /usr/share/perl5/Mail/Reporter.pm line 114. > Use of uninitialized value in hash element at > /usr/share/perl5/Mail/Reporter.pm line 31. > Use of uninitialized value in hash element at > /usr/share/perl5/Mail/Reporter.pm line 32. > > Any ideas why? Probably this: my($default_log, $default_trace, $trace_callback); INIT { __PACKAGE__->defaultTrace('WARNINGS'); } I expect somewhere in your apache-logfiles is a line: too late to run INIT block... If you put 'use Mail::Reporter' in your start-up script, this warning and problem may go... Meanwhile, I have to think of some work-aroung... -- Thanks for the report, MarkOv ------------------------------------------------------------------------ drs Mark A.C.J. Overmeer MARKOV Solutions [email protected] [email protected] http://Mark.Overmeer.net http://solutions.overmeer.net