X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod%2FConstructor.pm;h=399aa257d8656b5e6b47eaaf9dfbd1ab626ad99d;hb=903b25aa09b1dea003bc50a6f1e5307ae40629d2;hp=7a3120a664145ede16792a28d8023aa9d1d2ca5e;hpb=a7e3b78eb9097adb42355eaa27a6c5846a1ad9cc;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Method/Constructor.pm b/lib/Mouse/Meta/Method/Constructor.pm index 7a3120a..399aa25 100644 --- a/lib/Mouse/Meta/Method/Constructor.pm +++ b/lib/Mouse/Meta/Method/Constructor.pm @@ -1,7 +1,7 @@ package Mouse::Meta::Method::Constructor; use Mouse::Util qw(:meta); # enables strict and warnings -use constant _MOUSE_DEBUG => !!$ENV{MOUSE_DEBUG}; +use constant _MOUSE_DEBUG => $ENV{MOUSE_DEBUG} ? 1 : 0; sub _inline_slot{ my(undef, $self_var, $attr_name) = @_; @@ -232,7 +232,7 @@ Mouse::Meta::Method::Constructor - A Mouse method generator for constructors =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.91 =head1 SEE ALSO