-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update exercises and runner to Perl 5.40 (#671)
* Add UUID to cpanfile * Perltidy updates * STRINGIFY_NUMBERS adjustment * Include distribution * Update perl action * Install UUID to remove warnings
- Loading branch information
Showing
82 changed files
with
98 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
requires 'lib::gitroot'; | ||
requires 'Data::Dmp'; | ||
requires 'Moo'; | ||
requires 'namespace::autoclean'; | ||
requires 'Path::Tiny'; | ||
requires 'Perl::Tidy'; | ||
requires 'Template::Mustache'; | ||
requires 'Test2::V0'; | ||
requires 'TOML::Parser'; | ||
requires 'UUID'; | ||
requires 'YAML'; | ||
requires 'Data::Dmp'; |
2 changes: 1 addition & 1 deletion
2
exercises/concept/booking-up-for-beauty/.meta/BookingUpForBeauty.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package BookingUpForBeauty; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Time::Piece; | ||
#use Const::Fast; | ||
|
2 changes: 1 addition & 1 deletion
2
exercises/concept/booking-up-for-beauty/lib/BookingUpForBeauty.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package BookingUpForBeauty; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
# Suggested datetime modules you can use: | ||
#use Time::Piece; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package HighScoreBoard; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
our %Scores; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package HighScoreBoard; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
our %Scores; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
exercises/concept/inventory-management/.meta/InventoryManagement.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package InventoryManagement; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
sub create_inventory ($items) { | ||
my %inventory; | ||
|
2 changes: 1 addition & 1 deletion
2
exercises/concept/inventory-management/lib/InventoryManagement.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package InventoryManagement; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
sub create_inventory ($items) { | ||
my %inventory; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package LanguageList; | ||
|
||
use v5.38; | ||
use v5.40; | ||
use List::Util qw<any>; | ||
|
||
our @Languages; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package LanguageList; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
our @Languages; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Lasagna; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
our $ExpectedMinutesInOven = 40; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Lasagna; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
our $ExpectedMinutesInOven = undef; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Accumulate; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<accumulate>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package AllYourBase; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<rebase>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Anagram; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<match_anagrams>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package BinarySearchTree; | ||
|
||
use v5.38; | ||
use v5.40; | ||
use Moo; | ||
|
||
package BinarySearchTree::Node { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package BinarySearch; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<binary_search>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Declare package 'Bob' | ||
package Bob; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<hey>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package BottleSong; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<sing>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Clock; | ||
|
||
use v5.38; | ||
use v5.40; | ||
use Moo; | ||
|
||
# rwp = read-write protected | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package CryptoSquare; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<cipher>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package CustomSet; | ||
|
||
use v5.38; | ||
use v5.40; | ||
use Moo; | ||
|
||
has elements => ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Darts; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<score_dart>; | ||
|
2 changes: 1 addition & 1 deletion
2
exercises/practice/difference-of-squares/lib/DifferenceOfSquares.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package ETL; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<transform>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package FoodChain; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<recite>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Gigasecond; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<add_gigasecond>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package GradeSchool; | ||
|
||
use v5.38; | ||
use v5.40; | ||
use Moo; | ||
|
||
sub add ( $self, $student, $grade ) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package Hamming; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<hamming_distance>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package House; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<recite>; | ||
|
2 changes: 1 addition & 1 deletion
2
exercises/practice/kindergarten-garden/lib/KindergartenGarden.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package KindergartenGarden; | ||
|
||
use v5.38; | ||
use v5.40; | ||
|
||
use Exporter qw<import>; | ||
our @EXPORT_OK = qw<plants>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
exercises/practice/largest-series-product/lib/LargestSeriesProduct.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.