From fb5c48d35b1446223986135f5590b4ce2414c849 Mon Sep 17 00:00:00 2001 From: NaveenKarippai Date: Tue, 31 May 2016 18:20:41 +0000 Subject: [PATCH] Remove whitespace characters from source module There were some unnecessary whitespace characters included on source code module. This should be removed. See also: #3144 --- lib/DDG/Goodie/Sort.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/DDG/Goodie/Sort.pm b/lib/DDG/Goodie/Sort.pm index 162c076ce..f2a308119 100755 --- a/lib/DDG/Goodie/Sort.pm +++ b/lib/DDG/Goodie/Sort.pm @@ -38,7 +38,8 @@ handle remainder => sub { return unless all { looks_like_number($_) } @numbers; my $count = 0; - @numbers = map { 0 + $_ } grep { ++$count <= MAX_LIST_SIZE } @numbers; # Normalize and limit list size. + @numbers = map { 0 + $_ } grep { ++$count <= MAX_LIST_SIZE } @numbers; # Normalize and limit list size. + my $unsorted_list = join($delim, @numbers); my $sorted_list = join($delim, sort { $ascending ? $a <=> $b : $b <=> $a } @numbers); my $dir = $ascending ? 'ascendingly' : 'descendingly';