Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: mose [...] ns.cune.edu
Cc:
AdminCc:

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



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'.")
You're right. Other classes are nearly all based on a Mail::Reporter, and this one not (for a false idea of performance issues). Next release (today) will have this class rewritten as full sub-class of a Mail::Reporter. Thanks for the report