diff --git a/prefs/MooseX-Types.yml b/prefs/MooseX-Types.yml new file mode 100644 index 0000000..0fbce91 --- /dev/null +++ b/prefs/MooseX-Types.yml @@ -0,0 +1,9 @@ +--- +comment: "cperl patches: strict hashpairs" +match: + perlconfig: + version: "^5\.2[78]" + usecperl: "define" + distribution: "MooseX-Types-0.50" +patches: + - "RURBAN/patches/MooseX-Types-527c.patch" diff --git a/sources/authors/id/R/RU/RURBAN/patches/MooseX-Types-527c.patch b/sources/authors/id/R/RU/RURBAN/patches/MooseX-Types-527c.patch new file mode 100644 index 0000000..b855b82 --- /dev/null +++ b/sources/authors/id/R/RU/RURBAN/patches/MooseX-Types-527c.patch @@ -0,0 +1,11 @@ +diff -bu ./lib/MooseX/Types/Combine.pm~ ./lib/MooseX/Types/Combine.pm +--- ./lib/MooseX/Types/Combine.pm~ 2017-02-07 19:59:35.000000000 +0100 ++++ ./lib/MooseX/Types/Combine.pm 2017-05-15 11:15:42.000000000 +0200 +@@ -120,6 +120,7 @@ + $class->_check_type_lib($_) for @libs; + @$store = @libs; + ++ no strict 'hashpairs'; + my %types = map { + my $lib = $_; + map +( $_ => $lib ), $lib->type_names