Subject: | problem with report_non_bounces |
Date: | Sat, 29 Jul 2006 11:27:36 -0700 |
To: | Bugs in Mail-DeliveryStatus-BounceParser via RT <bug-Mail-DeliveryStatus-BounceParser [...] rt.cpan.org> |
From: | William Yardley <cpan [...] veggiechinese.net> |
I tried setting report_non_bounces, as described in the docs:
my $bounce = eval { Mail::DeliveryStatus::BounceParser->new($fh,
report_non_bounces => 1);
};
This worked with 1.5, but now (with 1.511) I get the error:
Can't use string ("report_non_bounces") as a HASH ref while "strict
refs" in use
I tried quoting "report_non_bounces" and changing the syntax around, but
doesn't seem to work.
If I comment out "use strict" in the module itself, the error goes away.
(I tested out these various problems I'm seeing on a FreeBSD machine
running 5.8.5, just to make sure it's not something wrong with the way
the module was built on the RHEL machines).
w