1
0
Эх сурвалжийг харах

Set the minimum Perl version to 5.10 in Dist::Zilla config and main module.

Charles Howes 12 жил өмнө
parent
commit
e196e62e90

+ 2 - 0
dist.ini

@@ -27,6 +27,8 @@ LWP::Protocol::PSGI = 0
 Test::More = 0
 
 [Prereqs / RuntimeRequires]
+perl = 5.010
+
 Carp = 0
 HTTP::Headers = 0
 HTTP::Request = 0

+ 1 - 0
lib/Selenium/Remote/Driver.pm

@@ -2,6 +2,7 @@ package Selenium::Remote::Driver;
 
 use strict;
 use warnings;
+use 5.006; use v5.10.0; # See http://perldoc.perl.org/5.10.0/functions/use.html#use-VERSION
 
 use Carp;
 our @CARP_NOT;