aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Sajid Anwar <Mohammad.Anwar@yahoo.com>2024-08-07 10:05:57 +0100
committerGitHub <noreply@github.com>2024-08-07 10:05:57 +0100
commit501e426f5dc08979a3be7ff509b49ba324b3119c (patch)
treeeea7df7784d53b6e29ee2311321a45a8d4ccac3d
parent94b9145b09c9801d2400771d37e7a7ee85dacfda (diff)
parentefc8bcd5f309459767078679099e7e0814104fb5 (diff)
downloadperlweeklychallenge-club-501e426f5dc08979a3be7ff509b49ba324b3119c.tar.gz
perlweeklychallenge-club-501e426f5dc08979a3be7ff509b49ba324b3119c.tar.bz2
perlweeklychallenge-club-501e426f5dc08979a3be7ff509b49ba324b3119c.zip
Merge pull request #10564 from robbie-hatley/rh281
Fixed print error in 281-1
-rwxr-xr-xchallenge-281/robbie-hatley/perl/ch-1.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-281/robbie-hatley/perl/ch-1.pl b/challenge-281/robbie-hatley/perl/ch-1.pl
index 18985ef5f7..07908c1c16 100755
--- a/challenge-281/robbie-hatley/perl/ch-1.pl
+++ b/challenge-281/robbie-hatley/perl/ch-1.pl
@@ -55,5 +55,5 @@ for my $coord (@coords) {
my $parity = parity($coord);
my $color = $parity ? 'white' : 'black';
my $result = $parity ? 'true' : 'false';
- printf("%-8s%-8d%-8s%-8s\n", $coord, $parity, $color, $result);
+ printf("%-8s%-8s%-8s%-8s\n", $coord, $parity, $color, $result);
}