X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod%2FDestructor.pm;h=6582a1ec6089df5b661903d1ba95f7caeeec6550;hb=d468e99669162209fc407bc22706a91b8675dbbc;hp=eae08df59681421857b62d728ea460403c171767;hpb=b11787bf7cafe5074ae42bf8ef4258c5c176f1d2;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Method/Destructor.pm b/lib/Mouse/Meta/Method/Destructor.pm index eae08df..6582a1e 100644 --- a/lib/Mouse/Meta/Method/Destructor.pm +++ b/lib/Mouse/Meta/Method/Destructor.pm @@ -1,7 +1,7 @@ package Mouse::Meta::Method::Destructor; 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 _generate_destructor{ my (undef, $metaclass) = @_; @@ -65,7 +65,7 @@ Mouse::Meta::Method::Destructor - A Mouse method generator for destructors =head1 VERSION -This document describes Mouse version 0.80 +This document describes Mouse version 0.92 =head1 SEE ALSO