From: Matt S Trout Date: Sun, 15 Jul 2012 23:41:48 +0000 (+0000) Subject: load overload.pm explicitly for overload::StrVal X-Git-Tag: v0.091014~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ac34668b7e566fcb080fb8a565339669ce944a4d;p=gitmo%2FMoo.git load overload.pm explicitly for overload::StrVal --- diff --git a/Changes b/Changes index 5bb07aa..ced936d 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ + - load overload.pm explicitly for overload::StrVal + 0.091013 - 2012-07-15 - useful and detailed errors for coerce in attrib generation diff --git a/lib/Method/Generate/Accessor.pm b/lib/Method/Generate/Accessor.pm index d12af58..0918912 100644 --- a/lib/Method/Generate/Accessor.pm +++ b/lib/Method/Generate/Accessor.pm @@ -6,6 +6,7 @@ use base qw(Moo::Object); use Sub::Quote; use B 'perlstring'; use Scalar::Util 'blessed'; +use overload (); BEGIN { our $CAN_HAZ_XS = !$ENV{MOO_XS_DISABLE}