diff options
| author | Matthew Neleigh <matthew.neleigh@gmail.com> | 2023-10-09 20:40:56 -0400 |
|---|---|---|
| committer | Matthew Neleigh <matthew.neleigh@gmail.com> | 2023-10-09 20:40:56 -0400 |
| commit | cf10a8bfbe66603d7efb6626d7a783662bcb6098 (patch) | |
| tree | da1692de28098ee3e7d38b03b39f3656b6bc17d3 | |
| parent | 5be0e6716f9cb08cf3676be8f5e83424f405a729 (diff) | |
| download | perlweeklychallenge-club-cf10a8bfbe66603d7efb6626d7a783662bcb6098.tar.gz perlweeklychallenge-club-cf10a8bfbe66603d7efb6626d7a783662bcb6098.tar.bz2 perlweeklychallenge-club-cf10a8bfbe66603d7efb6626d7a783662bcb6098.zip | |
modified: challenge-238/mattneleigh/perl/ch-1.pl
| -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 ) |
