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-026 | |
| 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-026')
| -rw-r--r-- | challenge-026/paulo-custodio/perl/ch-1.pl | 4 | ||||
| -rw-r--r-- | challenge-026/paulo-custodio/perl/ch-2.pl | 4 | ||||
| -rw-r--r-- | challenge-026/paulo-custodio/test.pl | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/challenge-026/paulo-custodio/perl/ch-1.pl b/challenge-026/paulo-custodio/perl/ch-1.pl index 7b608db30d..b301adbc08 100644 --- a/challenge-026/paulo-custodio/perl/ch-1.pl +++ b/challenge-026/paulo-custodio/perl/ch-1.pl @@ -10,9 +10,7 @@ # only A-Z,a-z characters are acceptable. Also make the comparison case # sensitive. -use strict; -use warnings; -use 5.030; +use Modern::Perl; say count(@ARGV); diff --git a/challenge-026/paulo-custodio/perl/ch-2.pl b/challenge-026/paulo-custodio/perl/ch-2.pl index b3a43ffec7..a1a389a8fa 100644 --- a/challenge-026/paulo-custodio/perl/ch-2.pl +++ b/challenge-026/paulo-custodio/perl/ch-2.pl @@ -6,9 +6,7 @@ # Create a script that prints mean angles of the given list of angles in degrees. # Please read wiki page that explains the formula in details with an example. -use strict; -use warnings; -use 5.030; +use Modern::Perl; use Math::Trig; say mean(@ARGV); diff --git a/challenge-026/paulo-custodio/test.pl b/challenge-026/paulo-custodio/test.pl index 6aaf2aa265..d62439d477 100644 --- a/challenge-026/paulo-custodio/test.pl +++ b/challenge-026/paulo-custodio/test.pl @@ -1,9 +1,7 @@ #!/usr/bin/perl use strict; -use warnings; -use Test::More; -use 5.030; +use Modern::Perl; is capture("perl perl/ch-1.pl chancellor chocolate"), "8\n"; |
