Skip to content

Commit

Permalink
MooseX-Types: 527c no strict hashpairs
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed May 15, 2017
1 parent 1c74323 commit e1e3fc0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions prefs/MooseX-Types.yml
Original file line number Diff line number Diff line change
@@ -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"
11 changes: 11 additions & 0 deletions sources/authors/id/R/RU/RURBAN/patches/MooseX-Types-527c.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e1e3fc0

Please sign in to comment.