aboutsummaryrefslogtreecommitdiff
path: root/challenge-003
diff options
context:
space:
mode:
authorJoelle Maslak <jmaslak@antelope.net>2019-04-14 14:47:28 -0500
committerJoelle Maslak <jmaslak@antelope.net>2019-04-14 14:47:28 -0500
commit8bfd4256fe81493bf8c0e04c0feb89122ec1bfc4 (patch)
treed0b380fc660982402ff3625fe4e4606eddb2d48b /challenge-003
parentb600c7a2226089c8f347f91769c63f9d9460cc68 (diff)
downloadperlweeklychallenge-club-8bfd4256fe81493bf8c0e04c0feb89122ec1bfc4.tar.gz
perlweeklychallenge-club-8bfd4256fe81493bf8c0e04c0feb89122ec1bfc4.tar.bz2
perlweeklychallenge-club-8bfd4256fe81493bf8c0e04c0feb89122ec1bfc4.zip
Minor formatting change
Diffstat (limited to 'challenge-003')
-rwxr-xr-x[-rw-r--r--]challenge-003/joelle-maslak/perl5/ch-1.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-003/joelle-maslak/perl5/ch-1.pl b/challenge-003/joelle-maslak/perl5/ch-1.pl
index 45642bd764..da088b4a6e 100644..100755
--- a/challenge-003/joelle-maslak/perl5/ch-1.pl
+++ b/challenge-003/joelle-maslak/perl5/ch-1.pl
@@ -23,7 +23,7 @@ while ( scalar(@hamming) < $count ) {
$i++;
}
-say "Hamming numbers [0.." . ($count-1) . "]: " . join( ", ", @hamming );
+say "Hamming numbers [0.." . ( $count - 1 ) . "]: " . join( ", ", @hamming );
sub ishamming($i) {
my @primes = primedivisors($i);