X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FUtil.pm;h=e86da70900972e41507d506579831d270e9556b3;hp=fa0642390cb72024f55e055f7c6f10afc6ce6b30;hb=0449307510ab4425a6b340fee9bf85824eb994b1;hpb=7ca5c5fb6e084d9c57bc022b336458afc74c6847 diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index fa06423..e86da70 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -1,10 +1,14 @@ package Mouse::Util; use strict; use warnings; -use base qw/Exporter/; + +use Exporter; use Carp qw(confess); +use constant _MOUSE_VERBOSE => !!$ENV{MOUSE_VERBOSE}; + +our @ISA = qw(Exporter); our @EXPORT_OK = qw( find_meta does_role @@ -21,10 +25,11 @@ our @EXPORT_OK = qw( not_supported does meta dump + _MOUSE_VERBOSE ); our %EXPORT_TAGS = ( all => \@EXPORT_OK, - meta => [qw(does meta dump)], + meta => [qw(does meta dump _MOUSE_VERBOSE)], ); # Moose::Util compatible utilities