aboutsummaryrefslogtreecommitdiff
path: root/challenge-094
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-094
parentdd979819d8042c04464033dcff0c2853546e34c1 (diff)
downloadperlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.tar.gz
perlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.tar.bz2
perlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.zip
use Modern::Perl
Diffstat (limited to 'challenge-094')
-rw-r--r--challenge-094/paulo-custodio/perl/ch-1.pl4
-rw-r--r--challenge-094/paulo-custodio/perl/ch-2.pl4
-rw-r--r--challenge-094/paulo-custodio/test.pl4
3 files changed, 3 insertions, 9 deletions
diff --git a/challenge-094/paulo-custodio/perl/ch-1.pl b/challenge-094/paulo-custodio/perl/ch-1.pl
index 807bdc0ca9..4d89fbc6b4 100644
--- a/challenge-094/paulo-custodio/perl/ch-1.pl
+++ b/challenge-094/paulo-custodio/perl/ch-1.pl
@@ -21,9 +21,7 @@
# Input: ("x")
# Output: [ ("x") ]
-use strict;
-use warnings;
-use 5.030;
+use Modern::Perl;
# get list of words
my @words = @ARGV;
diff --git a/challenge-094/paulo-custodio/perl/ch-2.pl b/challenge-094/paulo-custodio/perl/ch-2.pl
index fccddc0ebc..c5414e8bd3 100644
--- a/challenge-094/paulo-custodio/perl/ch-2.pl
+++ b/challenge-094/paulo-custodio/perl/ch-2.pl
@@ -24,9 +24,7 @@
#
# 1 -> 2 -> 4 -> 5 -> 6 -> 7 -> 3
-use strict;
-use warnings;
-use 5.030;
+use Modern::Perl;
# tree object
{
diff --git a/challenge-094/paulo-custodio/test.pl b/challenge-094/paulo-custodio/test.pl
index d599ac9378..43d1340802 100644
--- a/challenge-094/paulo-custodio/test.pl
+++ b/challenge-094/paulo-custodio/test.pl
@@ -1,8 +1,6 @@
#!/usr/bin/perl
-use strict;
-use warnings;
-use 5.030;
+use Modern::Perl;
use Test::More;
use Path::Tiny;