Theo Van Dinter wrote:
On Wed, Oct 25, 2006 at 12:57:52PM -0400, Joe Flowers wrote:
I'd prefer to use M::SA->check_message_text(), but if I do a
M::SA->check_message_text('This is a programmer's nightmare.'), then
M::SA->check_message_text() will choke because of the (') in the middle
of th
FYI,
*My tests show that this is causing a memory leak.
Joe
my $spamtest = Mail::SpamAssassin->new();
my $status = $spamtest->check($spamtest->parse($message));
if ($status->
On Tue, Oct 24, 2006 at 06:06:11PM +0100, Justin Mason wrote:
> > Hrm. I would normally suggest running $msg->finish(), but in this case, I
> > believe that the $status->finish() should handle it.
>
> well, I wouldn't recommend assuming it will be supported in future...
> definitely a better idea
On Wed, Oct 25, 2006 at 12:57:52PM -0400, Joe Flowers wrote:
> I'd prefer to use M::SA->check_message_text(), but if I do a
> M::SA->check_message_text('This is a programmer's nightmare.'), then
> M::SA->check_message_text() will choke because of the (') in the middle
> of the string. How do I p
Theo Van Dinter wrote:
You may also want to
look at M::SA->check_message_text().
Theo,
I'd prefer to use M::SA->check_message_text(), but if I do a
M::SA->check_message_text('This is a programmer's nightmare.'), then
M::SA->check_message_text() will choke because of the (') in the middle
Theo Van Dinter writes:
> On Sun, Oct 22, 2006 at 08:13:35PM -0400, Joe Flowers wrote:
> > Can I get away with this without any memory or resource leaks? Is this OK?
> > my $spamtest = Mail::SpamAssassin->new();
> > my $status = $spamtest->check($spamtest->parse($message));
> [...]
> > $stat
On Sun, Oct 22, 2006 at 08:13:35PM -0400, Joe Flowers wrote:
> Can I get away with this without any memory or resource leaks? Is this OK?
> my $spamtest = Mail::SpamAssassin->new();
> my $status = $spamtest->check($spamtest->parse($message));
[...]
> $status->finish();
Hrm. I would normally