Skip to content

Commit cf0450a

Browse files
committed
Use requires_by_perl - Data::OptList
1 parent 5da1b54 commit cf0450a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cpanfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ sub prior { @_ }
6868
sub otherwise { @_ }
6969
sub skip { undef }
7070

71+
requires_by_perl 'Data::OptList',
72+
prior 5.012 => '==0.113',
73+
otherwise skip
74+
;
75+
7176
requires_by_perl 'Data::Section',
7277
prior 5.012 => '==0.200007',
7378
otherwise skip,
@@ -106,7 +111,6 @@ requires_by_perl 'Test::MockModule',
106111

107112
# Last versions which install on < 5.12
108113
if ( "$]" < 5.012 ) {
109-
requires 'Data::OptList', '==0.113';
110114
requires 'Plack', '==1.0050';
111115
requires 'Software::License::Perl_5', '==0.104004';
112116
requires 'Sub::Exporter', '==0.990';

0 commit comments

Comments
 (0)