aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobbie-hatley <Robbie.Hatley@gmail.com>2024-01-17 20:32:55 -0800
committerrobbie-hatley <Robbie.Hatley@gmail.com>2024-01-17 20:32:55 -0800
commitab943f6d53ecdab74656d5294e4ac1d033ca6aa2 (patch)
tree54d8a059dbd61f3f9714bb6b9552e9bbd364ac46
parent81455cd0c01e629908ea9f1437fac5864669c279 (diff)
downloadperlweeklychallenge-club-ab943f6d53ecdab74656d5294e4ac1d033ca6aa2.tar.gz
perlweeklychallenge-club-ab943f6d53ecdab74656d5294e4ac1d033ca6aa2.tar.bz2
perlweeklychallenge-club-ab943f6d53ecdab74656d5294e4ac1d033ca6aa2.zip
Fixed error in comment in 252-2.
-rwxr-xr-xchallenge-252/robbie-hatley/perl/ch-2.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-252/robbie-hatley/perl/ch-2.pl b/challenge-252/robbie-hatley/perl/ch-2.pl
index 4edb5e4b68..eb4bb4dfa3 100755
--- a/challenge-252/robbie-hatley/perl/ch-2.pl
+++ b/challenge-252/robbie-hatley/perl/ch-2.pl
@@ -77,7 +77,7 @@ sub is_pos_int ($x) {
return $x =~ m/^[1-9]\d*$/;
}
-# Return array of unique ints adding to $n:
+# Return array of $n unique ints adding to 0:
sub usz ($n) {
my @a = ();
push @a, -int($n/2)..-1;