From: Jesse Luehrs Date: Mon, 27 Sep 2010 15:05:44 +0000 (-0500) Subject: fix warning on earlier perls X-Git-Tag: 1.09~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=684b69cf390c142bfaab691eaa0c29488374a3a7;p=gitmo%2FClass-MOP.git fix warning on earlier perls --- diff --git a/lib/Class/MOP/Method/Meta.pm b/lib/Class/MOP/Method/Meta.pm index a22ac55..7366c82 100644 --- a/lib/Class/MOP/Method/Meta.pm +++ b/lib/Class/MOP/Method/Meta.pm @@ -11,7 +11,7 @@ our $VERSION = '1.08'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use constant DEBUG_NO_META => $ENV{DEBUG_NO_META}; +use constant DEBUG_NO_META => $ENV{DEBUG_NO_META} ? 1 : 0; use base 'Class::MOP::Method';