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.