X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse.pm;h=a0c88d7e7f69a2fa8c4c651a9cbc8a73fa54bd0f;hp=12205cee66d75aa2c5e6855478fbad103b40994d;hb=6423ed47a3392af0da9cd37ac8519583e51feb27;hpb=ed9c907bf3f87849e4565f101d3767470f7ca465 diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 12205ce..a0c88d7 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -3,9 +3,9 @@ use 5.006_002; use Mouse::Exporter; # enables strict and warnings -our $VERSION = '0.37_06'; +our $VERSION = '0.40_05'; -use Carp qw(confess); +use Carp qw(confess); use Scalar::Util qw(blessed); use Mouse::Util qw(load_class is_class_loaded get_code_package not_supported); @@ -141,7 +141,7 @@ sub init_meta { }); $meta->superclasses($base_class) - unless $meta->superclasses; + unless $class->isa($base_class); # make a class type for each Mouse class Mouse::Util::TypeConstraints::class_type($class) @@ -160,7 +160,7 @@ Mouse - Moose minus the antlers =head1 VERSION -This document describes Mouse version 0.37_06 +This document describes Mouse version 0.40_05 =head1 SYNOPSIS @@ -202,9 +202,8 @@ latter, if possible. Mouse aims to alleviate this by providing a subset of Moose's functionality, faster. -We're also going as light on dependencies as possible. -L or L is required -if you want support for L, L, and L. +We're also going as light on dependencies as possible. Mouse currently has +B except for testing modules. =head2 MOOSE COMPATIBILITY @@ -224,6 +223,8 @@ Moose, if you run into weird errors, it would be worth running: to see if the bug is caused by Mouse. Moose's diagnostics and validation are also much better. +See also L for compatibility and incompatibility with Moose. + =head2 MouseX Please don't copy MooseX code to MouseX. If you need extensions, you really @@ -399,15 +400,17 @@ Perl 5.6.2 or later. =head1 SEE ALSO +L + L L =head1 AUTHORS -Shawn M Moore, Esartak at gmail.comE +Shawn M Moore Esartak at gmail.comE -Yuval Kogman, Enothingmuch at woobling.orgE +Yuval Kogman Enothingmuch at woobling.orgE tokuhirom