X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse.pm;h=688e186a5e088b77981dc565acd6921c510542cb;hb=1759509c4361c0a44d57bb501d464740247e2dc0;hp=c484fda4d3336f01d6607c843b53e8e0cb6f3c7a;hpb=4bc73e4760435ee34876be28bf4522e9e7eaf519;p=gitmo%2FMouse.git diff --git a/lib/Mouse.pm b/lib/Mouse.pm index c484fda..688e186 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -3,12 +3,12 @@ use 5.006_002; use Mouse::Exporter; # enables strict and warnings -our $VERSION = '0.50_03'; +our $VERSION = '0.54'; use Carp qw(confess); use Scalar::Util qw(blessed); -use Mouse::Util qw(load_class is_class_loaded get_code_package not_supported); +use Mouse::Util (); use Mouse::Meta::Module; use Mouse::Meta::Class; @@ -160,7 +160,7 @@ Mouse - Moose minus the antlers =head1 VERSION -This document describes Mouse version 0.50_03 +This document describes Mouse version 0.54 =head1 SYNOPSIS @@ -400,22 +400,6 @@ You may use L to replace the superclass list. Please unimport Mouse (C) so that if someone calls one of the keywords (such as L) it will break loudly instead breaking subtly. -=head1 CAVEATS - -If you use Mouse::XS you might see a fatal error on callbacks -which include C, which typically occurs in such code -as C. This is not -a bug in Mouse. In fact, it is a bug in Perl (RT #69939). - -To work around this problem, surround C with C: - - sub callback { - # eval 'use NotInstalledModule'; # NG - eval{ eval 'use NotInstalledModule' }; # OK - } - -It seems ridiculous, but it works as you expected. - =head1 SOURCE CODE ACCESS We have a public git repository: