From: Dave Rolsky Date: Sat, 29 Jan 2011 17:37:59 +0000 (-0600) Subject: Remove whitespace at end of line X-Git-Tag: v0.16^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2433d98639c90a97f481cccbe5637ad4fa5b925;p=gitmo%2FMooseX-Params-Validate.git Remove whitespace at end of line --- diff --git a/lib/MooseX/Params/Validate.pm b/lib/MooseX/Params/Validate.pm index e05c0b7..c2f691b 100644 --- a/lib/MooseX/Params/Validate.pm +++ b/lib/MooseX/Params/Validate.pm @@ -48,7 +48,7 @@ sub validated_hash { my $instance; $instance = shift @$args if blessed $args->[0]; - my %args + my %args = @$args == 1 && ref $args->[0] && reftype( $args->[0] ) eq 'HASH' ? %{ $args->[0] } : @$args; @@ -101,7 +101,7 @@ sub validated_list { my $instance; $instance = shift @$args if blessed $args->[0]; - my %args + my %args = @$args == 1 && ref $args->[0] && reftype( $args->[0] ) eq 'HASH' ? %{ $args->[0] } : @$args;