From cf10a8bfbe66603d7efb6626d7a783662bcb6098 Mon Sep 17 00:00:00 2001 From: Matthew Neleigh Date: Mon, 9 Oct 2023 20:40:56 -0400 Subject: modified: challenge-238/mattneleigh/perl/ch-1.pl --- challenge-238/mattneleigh/perl/ch-1.pl | 4 ++-- 1 file 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 ) -- cgit