From e1e3fc0fc6f03a6dcc6afdf9afd4ac85abd6076a Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Mon, 15 May 2017 11:18:11 +0200 Subject: [PATCH] MooseX-Types: 527c no strict hashpairs --- prefs/MooseX-Types.yml | 9 +++++++++ .../id/R/RU/RURBAN/patches/MooseX-Types-527c.patch | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 prefs/MooseX-Types.yml create mode 100644 sources/authors/id/R/RU/RURBAN/patches/MooseX-Types-527c.patch 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