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;