Permalink
Browse files

Add 'use experimental smartmatch' for Perl 5.18+

  • Loading branch information...
1 parent 0cea1e6 commit 560aad691cacf908718530731bd3a85dee79e27d Steven Haryanto (on PC) committed Sep 11, 2013
Showing with 4 additions and 1 deletion.
  1. +2 −0 dist.ini
  2. +2 −1 lib/Dist/Zilla/Plugin/Rinci/Validate.pm
View
@@ -12,6 +12,8 @@ repository=http://github.com/sharyanto/perl-Dist-Zilla-Plugin-Rinci-Validate
[@SHARYANTO]
[Prereqs]
+perl=5.010001
+experimental=0
Data::Sah=0.10
;!lint-prereqs assume-used # blanket statement unrecognized
Dist::Zilla=0
@@ -1,6 +1,6 @@
package Dist::Zilla::Plugin::Rinci::Validate;
-use 5.010;
+use 5.010001;
use strict;
use warnings;
use Log::Any '$log';
@@ -20,6 +20,7 @@ my $pa = Perinci::Access::Perl->new(
# VERSION
use Moose;
+use experimental 'smartmatch';
use namespace::autoclean;
with (

0 comments on commit 560aad6

Please sign in to comment.