aboutsummaryrefslogtreecommitdiff
path: root/challenge-261
diff options
context:
space:
mode:
authorrobbie-hatley <Robbie.Hatley@gmail.com>2024-03-22 14:41:45 -0700
committerrobbie-hatley <Robbie.Hatley@gmail.com>2024-03-22 14:41:45 -0700
commitb3abf6f554be9dfce030a4aa1c1ec352b4bef44b (patch)
tree95b5bb054b7f217658e481ebd3bbcfc1611b6052 /challenge-261
parentdff3a8f8e00a2328d579b3e7f39b332fe0983624 (diff)
downloadperlweeklychallenge-club-b3abf6f554be9dfce030a4aa1c1ec352b4bef44b.tar.gz
perlweeklychallenge-club-b3abf6f554be9dfce030a4aa1c1ec352b4bef44b.tar.bz2
perlweeklychallenge-club-b3abf6f554be9dfce030a4aa1c1ec352b4bef44b.zip
Correction to my solution to 261-2.
Diffstat (limited to 'challenge-261')
-rwxr-xr-xchallenge-261/robbie-hatley/perl/ch-2.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-261/robbie-hatley/perl/ch-2.pl b/challenge-261/robbie-hatley/perl/ch-2.pl
index 46cd0190f6..fa349c4024 100755
--- a/challenge-261/robbie-hatley/perl/ch-2.pl
+++ b/challenge-261/robbie-hatley/perl/ch-2.pl
@@ -97,7 +97,7 @@ for my $aref (@arrays) {
say '';
my @array = @$aref;
my $start = pop @array;
- say 'Array = (', join(', ', @$aref), ')';
+ say 'Array = (', join(', ', @array), ')';
say 'Start = ', $start;
if ( 0 == $start ) {
say 'Error: $start may not be 0.';