From: Ricardo Signes Date: Thu, 5 Nov 2009 19:36:09 +0000 (-0500) Subject: enable Old-Man-Style four-space indents X-Git-Tag: 0.22~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f35d2054a8e958a92b37555c9b64144e07c3e6be;p=gitmo%2FMooseX-Storage.git enable Old-Man-Style four-space indents --- diff --git a/lib/MooseX/Storage.pm b/lib/MooseX/Storage.pm index 3bd6604..dbbdf85 100644 --- a/lib/MooseX/Storage.pm +++ b/lib/MooseX/Storage.pm @@ -20,21 +20,21 @@ sub import { } sub __expand_role { - my ($base, $value) = @_; - - return unless defined $value; - - if (ref $value) { - confess "references for roles are not yet handled"; - } else { - return scalar String::RewritePrefix->rewrite( - { - '' => "MooseX::Storage::$base\::", - '=' => '', - }, - $value, - ); - } + my ($base, $value) = @_; + + return unless defined $value; + + if (ref $value) { + confess "references for roles are not yet handled"; + } else { + return scalar String::RewritePrefix->rewrite( + { + '' => "MooseX::Storage::$base\::", + '=' => '', + }, + $value, + ); + } } sub _injected_storage_role_generator {