aboutsummaryrefslogtreecommitdiff
path: root/challenge-093
diff options
context:
space:
mode:
authorPaulo Custodio <pauloscustodio@gmail.com>2021-11-03 16:10:13 +0000
committerPaulo Custodio <pauloscustodio@gmail.com>2021-11-03 16:10:13 +0000
commitd12a3c58624c219f252e34b926797aa1b68a69fa (patch)
tree507a3ff52cb4a2185864239190ba13155df1cbf8 /challenge-093
parentdd979819d8042c04464033dcff0c2853546e34c1 (diff)
downloadperlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.tar.gz
perlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.tar.bz2
perlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.zip
use Modern::Perl
Diffstat (limited to 'challenge-093')
-rw-r--r--challenge-093/paulo-custodio/perl/ch-1.pl4
-rw-r--r--challenge-093/paulo-custodio/perl/ch-2.pl4
2 files changed, 2 insertions, 6 deletions
diff --git a/challenge-093/paulo-custodio/perl/ch-1.pl b/challenge-093/paulo-custodio/perl/ch-1.pl
index 9c49b4a883..9cb3d3789a 100644
--- a/challenge-093/paulo-custodio/perl/ch-1.pl
+++ b/challenge-093/paulo-custodio/perl/ch-1.pl
@@ -28,9 +28,7 @@
# Input: (1,1), (2,2), (3,1), (1,3), (5,3)
# Output: 3
-use strict;
-use warnings;
-use 5.030;
+use Modern::Perl;
# get points
(@ARGV<4 || @ARGV&1==1) and die "Usage: ch-1.pl x y x y x y ...\n";
diff --git a/challenge-093/paulo-custodio/perl/ch-2.pl b/challenge-093/paulo-custodio/perl/ch-2.pl
index 78a8b5f5b8..ca3f6ddb13 100644
--- a/challenge-093/paulo-custodio/perl/ch-2.pl
+++ b/challenge-093/paulo-custodio/perl/ch-2.pl
@@ -29,9 +29,7 @@
# Output: 26
# as sum three paths (1->2->4), (1->3->5) and (1->3->6)
-use strict;
-use warnings;
-use 5.030;
+use Modern::Perl;
# tree object
{