aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <Mohammad.Anwar@yahoo.com>2020-12-20 12:49:50 +0000
committerGitHub <noreply@github.com>2020-12-20 12:49:50 +0000
commitaa88708552e4ddd5271bd6790d7502d8f97537fd (patch)
treec22c7390f7ff664c36ab8a47602ba6792bc2514b
parent76ede61293f6b7e2aa94e8536c3579f3bd3ce3a4 (diff)
parent6b44446b74b9c39b35c942e93ac16615cb87eb88 (diff)
downloadperlweeklychallenge-club-aa88708552e4ddd5271bd6790d7502d8f97537fd.tar.gz
perlweeklychallenge-club-aa88708552e4ddd5271bd6790d7502d8f97537fd.tar.bz2
perlweeklychallenge-club-aa88708552e4ddd5271bd6790d7502d8f97537fd.zip
Merge pull request #3017 from jo-37/contrib
correct comment
-rwxr-xr-xchallenge-091/jo-37/perl/ch-2.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-091/jo-37/perl/ch-2.pl b/challenge-091/jo-37/perl/ch-2.pl
index a1a56cc1f0..6930ae37dd 100755
--- a/challenge-091/jo-37/perl/ch-2.pl
+++ b/challenge-091/jo-37/perl/ch-2.pl
@@ -23,8 +23,8 @@ sub jump_game {
my @maxjump = @_;
# Convert the given numbers into references to them. This enables
- # modificating the original values through array slices. Transform
- # only once.
+ # the modification of the original values through array slices.
+ # Transform only once.
@maxjump = map \$_, @maxjump unless ref $maxjump[0];
local $level = ($level // -1) + 1;