Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 7726
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: aa29 [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.057
Fixed in: (no value)



Subject: Mail::Reporter has INIT block that does not run under mod_perl
Mail::Reporter 2.057 has INIT block which is responsible for initializing default trace and log levels: INIT { __PACKAGE__->defaultTrace('WARNINGS'); } But that does not work under mod_perl for reasons described in http://perl.apache.org/docs/1.0/guide/porting.html#CHECK_And_INIT_Blocks and causes warning messages Use of uninitialized value in hash element at C:/Perl/site/lib/Mail/Reporter.pm line 31. Use of uninitialized value in hash element at C:/Perl/site/lib/Mail/Reporter.pm line 32. while using any inheritor of Mail::Reporter. Thanks.