Subject: | Can't locate object method "log" via package "Mail::Message::Field::Attribute" |
Distribution: Mail-Box 2.059
Perl 5.8.4
Linux 2.6.8-041224 #1 SMP i686 GNU/Linux
Can't locate object method "log" via package "Mail::Message::Field::Attribute" at /usr/local/share/perl/5.8.4/Mail/Message/Field/Attribute.pm line 21.
Line 21 is
$class->log(WARNING => "Illegal character in parameter name '$name'.")
Apparently, the class does not inherit the log() method. That may be why "use Mail::Reporter;" is found at the top of the module. A possible fix is
$Mail::Reporter->log(WARNING => "Illegal character in parameter name '$name'.")