Skip to content

Commit 5da1b54

Browse files
committed
Use requires_by_perl - Data::Section
1 parent 6e421fe commit 5da1b54

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::Section',
72+
prior 5.012 => '==0.200007',
73+
otherwise skip,
74+
;
75+
7176
requires_by_perl 'Devel::Cover',
7277
prior 5.010 => skip,
7378
prior 5.012 => '==1.42',
@@ -101,7 +106,6 @@ requires_by_perl 'Test::MockModule',
101106

102107
# Last versions which install on < 5.12
103108
if ( "$]" < 5.012 ) {
104-
requires 'Data::Section', '==0.200007';
105109
requires 'Data::OptList', '==0.113';
106110
requires 'Plack', '==1.0050';
107111
requires 'Software::License::Perl_5', '==0.104004';

0 commit comments

Comments
 (0)