From: gfx Date: Tue, 27 Oct 2009 04:47:18 +0000 (+0900) Subject: No import X-Git-Tag: 0.40_02~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=commitdiff_plain;h=b397e301500c5ffc86bbe79ccf7c31119a267ba0 No import --- diff --git a/lib/Mouse/Meta/Module.pm b/lib/Mouse/Meta/Module.pm index df1f0bd..e88531d 100755 --- a/lib/Mouse/Meta/Module.pm +++ b/lib/Mouse/Meta/Module.pm @@ -3,8 +3,8 @@ use Mouse::Util qw/:meta get_code_package get_code_ref load_class not_supported/ use Mouse::Util::TypeConstraints (); -use Carp (); -use Scalar::Util qw/blessed weaken/; +use Carp (); +use Scalar::Util (); my %METAS; @@ -199,7 +199,7 @@ sub get_method_list { my $meta = $self->initialize( $package_name, %options); - weaken $METAS{$package_name} + Scalar::Util::weaken $METAS{$package_name} if $mortal; $meta->add_method(meta => sub{