can you paste the exact code to a pastebin?  that error message doesn't
match the code; $self->{msg} is not a "Mail::SpamAssassin::Plugin::HeaderEval"
object.

--j.

On Tue, Mar 31, 2009 at 12:15, Mark <[email protected]> wrote:
> Hello,
>
>
>
> In SA 3.2.5, in the module HeaderEval, I wanted to do something like this:
>
>
>
> sub my_test {
>
>     my ($self) = @_;
>
>     my $header = $self->{msg}->get_pristine_header ();
>
>
>
> But the log shows an error:
>
>
>
> Mar 31 07:02:01 asarian-host spamd[4647]:  (Can't locate object method
>
> "get_pristine_header" via package "Mail::SpamAssassin::Plugin::HeaderEval"
> at
>
> /usr/local/standard-perl/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/He
>
> aderEval.pm line 102.
>
>
>
> Odd. I thought 'get_pristine_header' was available there. Am I missing
>
> something? I know 'get_pristine_header' still exists (I'm upgrading from a
> 3.1
>
> version), so that can't be it.
>
>
>
> Thanks

Reply via email to