diff options
| -rwxr-xr-x | challenge-238/mattneleigh/perl/ch-1.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-238/mattneleigh/perl/ch-1.pl b/challenge-238/mattneleigh/perl/ch-1.pl index 74a67197fb..cf5adb2a84 100755 --- a/challenge-238/mattneleigh/perl/ch-1.pl +++ b/challenge-238/mattneleigh/perl/ch-1.pl @@ -43,9 +43,9 @@ sub running_sum{ my $sum = 0; return( + # Add each number to the sum, with each + # sum going into the list to be returned map( - # Add each number to the sum, with each - # sum going into the list to be returned $sum += $_, @ARG ) |
