X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FUtil.pm;h=35c117d1acbf2c6163acfe6ae41cd8e7433ceff9;hp=b51f7bc81f6ed7c00c124e0ab7e29e6bbff0033d;hb=ea249879d28f5ce42afb95feeb7dcb6d37fcd241;hpb=8e64d0fa5da64639074f77d3da9b2f7aa20cce93 diff --git a/lib/Mouse/Util.pm b/lib/Mouse/Util.pm index b51f7bc..35c117d 100644 --- a/lib/Mouse/Util.pm +++ b/lib/Mouse/Util.pm @@ -10,16 +10,16 @@ our @EXPORT_OK = qw( find_meta does_role resolve_metaclass_alias + apply_all_roles english_list load_class is_class_loaded - apply_all_roles - not_supported - get_linear_isa get_code_info + + not_supported ); our %EXPORT_TAGS = ( all => \@EXPORT_OK, @@ -281,8 +281,8 @@ sub not_supported{ $feature ||= ( caller(1) )[3]; # subroutine name - local $Carp::CarpLevel = $Carp::CarpLevel + 2; - Carp::croak("Mouse does not currently support $feature"); + local $Carp::CarpLevel = $Carp::CarpLevel + 1; + Carp::confess("Mouse does not currently support $feature"); } 1; @@ -295,9 +295,41 @@ Mouse::Util - features, with or without their dependencies =head1 IMPLEMENTATIONS FOR -=head2 L +=head2 Moose::Util + +=head3 C + +=head3 C + +=head3 C + +=head3 C + +=head3 C + +=head2 Class::MOP + +=head3 C + +=head3 C + +=head2 MRO::Compat + +=head3 C + +=head2 Sub::Identify + +=head3 C + +=head1 UTILITIES FOR MOUSE + +=over 4 + +=item * + +C -=head3 get_linear_isa +=back =cut