aboutsummaryrefslogtreecommitdiff
path: root/challenge-108
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-04-18 19:43:00 +0200
committerAbigail <abigail@abigail.be>2021-04-18 19:43:00 +0200
commit1b300cfd72ea76888a56b1a2bc9e96f8bce748a3 (patch)
treed6c3f46627919a9afd8b745deaa13cd40095279c /challenge-108
parentf228bdabf3df9ab8f0738838e68acd4df91f6061 (diff)
downloadperlweeklychallenge-club-1b300cfd72ea76888a56b1a2bc9e96f8bce748a3.tar.gz
perlweeklychallenge-club-1b300cfd72ea76888a56b1a2bc9e96f8bce748a3.tar.bz2
perlweeklychallenge-club-1b300cfd72ea76888a56b1a2bc9e96f8bce748a3.zip
Small improvements
Diffstat (limited to 'challenge-108')
-rw-r--r--challenge-108/abigail/perl/ch-2.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/challenge-108/abigail/perl/ch-2.pl b/challenge-108/abigail/perl/ch-2.pl
index d89e32391e..c1f4457967 100644
--- a/challenge-108/abigail/perl/ch-2.pl
+++ b/challenge-108/abigail/perl/ch-2.pl
@@ -40,11 +40,9 @@ if ($type == $TYPE_PLAIN) {
elsif ($type == $TYPE_FETCH) {
use OEIS;
$, = ", ";
- say oeis (110 => 10)
+ say oeis (110 => $COUNT)
}
elsif ($type == $TYPE_COMPUTE) {
- my $COUNT = 10;
-
#
# Create Bell triangle (See https://en.wikipedia.org/wiki/Bell_triangle)
# The Bell numbers (starting from the second one), are on the