X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse.pm;h=7ca9997d04c2b3af492b823ec823d91895044e3e;hb=15b4faa9f83b2f8d62c4d875672ca801f0c89ed1;hp=de8ad9d997f3084554b408ccb131e6c84eabec48;hpb=16913e719a472035cea1218c644a4c706401274c;p=gitmo%2FMouse.git diff --git a/lib/Mouse.pm b/lib/Mouse.pm index de8ad9d..7ca9997 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -4,7 +4,7 @@ use warnings; use 5.006; use base 'Exporter'; -our $VERSION = '0.27'; +our $VERSION = '0.30'; use Carp 'confess'; use Scalar::Util 'blessed'; @@ -122,7 +122,9 @@ sub init_meta { { no strict 'refs'; no warnings 'redefine'; - *{$class.'::meta'} = sub { $meta }; + *{$class.'::meta'} = sub { + return Mouse::Meta::Class->initialize(ref($_[0]) || $_[0]); + }; } return $meta; @@ -279,8 +281,8 @@ 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. +L or L is required +if you want support for L, L, and L. =head2 MOOSE COMPAT @@ -308,6 +310,12 @@ should upgrade to Moose. We don't need two parallel sets of extensions! If you really must write a Mouse extension, please contact the Moose mailing list or #moose on IRC beforehand. +=head2 Maintenance + +The original author of this module has mostly stepped down from maintaining +Mouse. See L. +If you would like to help maintain this module, please get in touch with us. + =head1 KEYWORDS =head2 meta -> Mouse::Meta::Class @@ -504,7 +512,9 @@ L. =head1 COPYRIGHT AND LICENSE -Copyright 2008 Shawn M Moore. +Copyright 2008-2009 Infinity Interactive, Inc. + +http://www.iinteractive.com/ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.