From: Dave Rolsky Date: Tue, 21 Jul 2009 21:24:59 +0000 (-0500) Subject: Small tidiness change X-Git-Tag: 0.88~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=82a24871c42f52fe4372d8b949ecb9334e107995;p=gitmo%2FMoose.git Small tidiness change --- diff --git a/lib/Moose/Util.pm b/lib/Moose/Util.pm index 7fe5591..319ccba 100644 --- a/lib/Moose/Util.pm +++ b/lib/Moose/Util.pm @@ -105,7 +105,7 @@ sub _apply_all_roles { } } - if(defined $role_filter){ + if ( defined $role_filter ) { @$roles = grep { local $_ = $_->[0]; $role_filter->() } @$roles; }