From: Fuji, Goro Date: Sun, 7 Nov 2010 12:48:52 +0000 (+0900) Subject: Tidy X-Git-Tag: 0.83~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=54bc3ef2c2e380e9b58307a19cf5549a0b597128;p=gitmo%2FMouse.git Tidy --- diff --git a/lib/Mouse/Exporter.pm b/lib/Mouse/Exporter.pm index 3282dbc..a8a3985 100644 --- a/lib/Mouse/Exporter.pm +++ b/lib/Mouse/Exporter.pm @@ -114,7 +114,7 @@ sub build_import_methods{ $args{EXPORTS} = \%exports; $args{REMOVABLES} = \@removables; - $args{groups}{all} ||= \@all; + $args{groups}{all} ||= \@all; if(my $default_list = $args{groups}{default}){ my %default; @@ -136,7 +136,6 @@ sub build_import_methods{ return (\&do_import, \&do_unimport); } - # the entity of general import() sub do_import { my($package, @args) = @_; @@ -183,11 +182,11 @@ sub do_import { if(@traits){ my $type = (split /::/, ref $meta)[-1]; # e.g. "Class" for "My::Meta::Class" - @traits = - map{ - ref($_) ? $_ - : Mouse::Util::resolve_metaclass_alias($type => $_, trait => 1) - } @traits; + @traits = map{ + ref($_) + ? $_ + : Mouse::Util::resolve_metaclass_alias($type => $_, trait => 1) + } @traits; require Mouse::Util::MetaRole; Mouse::Util::MetaRole::apply_metaroles( @@ -278,8 +277,8 @@ This document describes Mouse version 0.82 use Mouse::Exporter; Mouse::Exporter->setup_import_methods( - as_is => [ 'has_rw', 'other_sugar', \&Some::Random::thing ], - also => 'Mouse', + as_is => [ 'has_rw', 'other_sugar', \&Some::Random::thing ], + also => 'Mouse', ); sub has_rw {