Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Sender CPAN distribution.

Report information
The Basics
Id: 83045
Status: resolved
Priority: 0/
Queue: Email-Sender

People
Owner: Nobody in particular
Requestors: asbjoern [...] gmail.com
Cc:
AdminCc:

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



Subject: Can't locate object method "blessed" via package
Full error message: Can't locate object method "blessed" via package "MIME::Entity" at /usr/local/share/perl/5.14.2/Email/Sender/Role/CommonSending.pm line 52. Scalar::Util doesn't export any subroutines per default. This might be a case of changed behavior. Applying the following patch fixes the error for me: --- CommonSending.pm 2013-01-30 12:08:04.065749613 +0100 +++ CommonSending.pm 2013-01-30 12:09:00.154027732 +0100 @@ -10,7 +10,7 @@ use Email::Sender::Success; use Email::Sender::Failure::Temporary; use Email::Sender::Failure::Permanent; -use Scalar::Util (); +use Scalar::Util qw(blessed); use Try::Tiny;
Subject: commonsending.patch
--- CommonSending.pm 2013-01-30 12:08:04.065749613 +0100 +++ CommonSending.pm 2013-01-30 12:09:00.154027732 +0100 @@ -10,7 +10,7 @@ use Email::Sender::Success; use Email::Sender::Failure::Temporary; use Email::Sender::Failure::Permanent; -use Scalar::Util (); +use Scalar::Util qw(blessed); use Try::Tiny;
Subject: Re: [rt.cpan.org #83045] AutoReply: Can't locate object method "blessed" via package
Date: Wed, 30 Jan 2013 13:29:09 +0100
To: bug-Email-Sender [...] rt.cpan.org
From: Asbjørn Thegler <asbjoern [...] gmail.com>
Min første bug report på rt.cpan.org. :) On 30 January 2013 13:27, Bugs in Email-Sender via RT < bug-Email-Sender@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Can't locate object method "blessed" via package", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #83045]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=83045 > > Please include the string: > > [rt.cpan.org #83045] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > bug-Email-Sender@rt.cpan.org > > ------------------------------------------------------------------------- > Full error message: > Can't locate object method "blessed" via package "MIME::Entity" at > /usr/local/share/perl/5.14.2/Email/Sender/Role/CommonSending.pm line 52. > > Scalar::Util doesn't export any subroutines per default. This might be a > case of changed behavior. Applying the following patch fixes the error > for me: > > --- CommonSending.pm 2013-01-30 12:08:04.065749613 +0100 > +++ CommonSending.pm 2013-01-30 12:09:00.154027732 +0100 > @@ -10,7 +10,7 @@ > use Email::Sender::Success; > use Email::Sender::Failure::Temporary; > use Email::Sender::Failure::Permanent; > -use Scalar::Util (); > +use Scalar::Util qw(blessed); > use Try::Tiny; >
Thanks for the bug report! This was (coincidentally!) already fixed in git, and should be in the next stable release of Email::Sender! -- rjbs