http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4996
------- Additional Comments From [EMAIL PROTECTED] 2006-07-19 06:45 -------
(In reply to comment #7)
> As a trivial change to get around the 3.1.0 problem, would something like
> this
> work:
>
> > sub parsed_metadata {
> > my ($self, $opts) = @_;
> > my $permsg = $opts->{permsgstatus};
> my $score = $permsg->get_score() * 10;
> $permsg->set_tag('SCOREMUL', sub { $score });
> > }
Thanks for answereing, but that does not change anything.
The header still gets "CODE(###)"
Stating from the IRC conversation:
23:16 < felicity> reiffert, the problem is that in 3.0, set_tag() may only ever
set a scalar value. you want to pass in a coderef and have it run, which 3.0
won't do.
23:16 < felicity> reiffert, 3.1 and 3.2 have been modified to do the right thing
and check the scalar to see if it's a code ref, and if it is, the reference gets
executed.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.