Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mail-DeliveryStatus-BounceParser CPAN distribution.

Report information
The Basics
Id: 20756
Status: rejected
Priority: 0/
Queue: Mail-DeliveryStatus-BounceParser

People
Owner: Nobody in particular
Requestors: cpan [...] veggiechinese.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
This was never documented as working as such; even the 1.5 documentation says to use: { report_non_bounces => 1 } The previous behavior, which did really silly things with flattening hashrefs and lists of pairs, has been removed. Use the new style. -- rjbs