diff options
| author | Paulo Custodio <pauloscustodio@gmail.com> | 2021-11-03 16:10:13 +0000 |
|---|---|---|
| committer | Paulo Custodio <pauloscustodio@gmail.com> | 2021-11-03 16:10:13 +0000 |
| commit | d12a3c58624c219f252e34b926797aa1b68a69fa (patch) | |
| tree | 507a3ff52cb4a2185864239190ba13155df1cbf8 /challenge-080 | |
| parent | dd979819d8042c04464033dcff0c2853546e34c1 (diff) | |
| download | perlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.tar.gz perlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.tar.bz2 perlweeklychallenge-club-d12a3c58624c219f252e34b926797aa1b68a69fa.zip | |
use Modern::Perl
Diffstat (limited to 'challenge-080')
| -rw-r--r-- | challenge-080/paulo-custodio/perl/ch-1.pl | 4 | ||||
| -rw-r--r-- | challenge-080/paulo-custodio/perl/ch-2.pl | 4 | ||||
| -rw-r--r-- | challenge-080/paulo-custodio/test.pl | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/challenge-080/paulo-custodio/perl/ch-1.pl b/challenge-080/paulo-custodio/perl/ch-1.pl index 772c3491e0..d49f9ee1e0 100644 --- a/challenge-080/paulo-custodio/perl/ch-1.pl +++ b/challenge-080/paulo-custodio/perl/ch-1.pl @@ -18,9 +18,7 @@ # Input: @N = (2, 0, -1) # Output: 1 -use strict; -use warnings; -use 5.030; +use Modern::Perl; say missing(@ARGV); diff --git a/challenge-080/paulo-custodio/perl/ch-2.pl b/challenge-080/paulo-custodio/perl/ch-2.pl index e6aa31b429..4fea498307 100644 --- a/challenge-080/paulo-custodio/perl/ch-2.pl +++ b/challenge-080/paulo-custodio/perl/ch-2.pl @@ -23,9 +23,7 @@ # # Output: 7 -use strict; -use warnings; -use 5.030; +use Modern::Perl; say candies(@ARGV); diff --git a/challenge-080/paulo-custodio/test.pl b/challenge-080/paulo-custodio/test.pl index 7185f2dadd..116392bfa0 100644 --- a/challenge-080/paulo-custodio/test.pl +++ b/challenge-080/paulo-custodio/test.pl @@ -1,9 +1,7 @@ #!/usr/bin/perl -use strict; -use warnings; +use Modern::Perl; use Test::More; -use 5.030; is capture("perl/ch-1.pl 5 2 -2 0"), "1\n"; is capture("perl/ch-1.pl 1 8 -1"), "2\n"; |
