From db3b628498be8e9548a5f36536ac72cd8fc76339 Mon Sep 17 00:00:00 2001 From: Jörg Sommrey <28217714+jo-37@users.noreply.github.com> Date: Mon, 6 Dec 2021 13:21:43 +0100 Subject: Solution to task 1 --- challenge-142/jo-37/perl/ch-1.pl | 64 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100755 challenge-142/jo-37/perl/ch-1.pl diff --git a/challenge-142/jo-37/perl/ch-1.pl b/challenge-142/jo-37/perl/ch-1.pl new file mode 100755 index 0000000000..fb16b8073d --- /dev/null +++ b/challenge-142/jo-37/perl/ch-1.pl @@ -0,0 +1,64 @@ +#!/usr/bin/perl -s + +use v5.16; +use Test2::V0; +use Math::Prime::Util 'divisors'; +use experimental 'signatures'; + +our ($tests, $examples, $base); +$base //= 10; + +run_tests() if $tests || $examples; # does not return + +die <