aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Neleigh <matthew.neleigh@gmail.com>2023-10-09 20:40:56 -0400
committerMatthew Neleigh <matthew.neleigh@gmail.com>2023-10-09 20:40:56 -0400
commitcf10a8bfbe66603d7efb6626d7a783662bcb6098 (patch)
treeda1692de28098ee3e7d38b03b39f3656b6bc17d3
parent5be0e6716f9cb08cf3676be8f5e83424f405a729 (diff)
downloadperlweeklychallenge-club-cf10a8bfbe66603d7efb6626d7a783662bcb6098.tar.gz
perlweeklychallenge-club-cf10a8bfbe66603d7efb6626d7a783662bcb6098.tar.bz2
perlweeklychallenge-club-cf10a8bfbe66603d7efb6626d7a783662bcb6098.zip
modified: challenge-238/mattneleigh/perl/ch-1.pl
-rwxr-xr-xchallenge-238/mattneleigh/perl/ch-1.pl4
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
)