in reply to Re: Extract IP from email dataset?
in thread Extract IP from email dataset?

package MultiNewLine; 1;

Just a tiny piece of nit-picking: this is cargo cult programming, the 1; has absolutely no effect. The return value of a module must be a true value, but the return value is that of the last statement which doesn't declare a sub, which in your case is our @ISA = qw(Mail::SpamAssassin::Plugin);

Replies are listed 'Best First'.
Re^3: Extract IP from email dataset?
by RoyCrowder (Monk) on May 12, 2009 at 16:22 UTC
    Thanks moritz. I'll make note of that and change them.

    The Web is like a dominatrix. Everywhere I turn, I see little buttons ordering me to Submit. (Nytwind)
Re^3: Extract IP from email dataset?
by John M. Dlugosz (Monsignor) on May 12, 2009 at 18:25 UTC
    I use
    return 1; # module loaded OK
    to be clear. Oh, and I put that at the end of the .pm file.