X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod%2FConstructor.pm;h=9b54ce8fb8d4f33be7eb3ce07d8dbf2a43e896ec;hb=59afef985b4a8c91e505715d75457b35656e4013;hp=e539955c637bb8eebffd1f995a73c054deb8e1c0;hpb=32ec255c44d36d63cce20f5e21386d5cd11396b9;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Method/Constructor.pm b/lib/Mouse/Meta/Method/Constructor.pm index e539955..9b54ce8 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.75 +This document describes Mouse version 0.84 =head1 SEE ALSO