Skip to content

Commit 33bf816

Browse files
committed
Use requires_by_perl - Sub::Exporter
1 parent da2fac9 commit 33bf816

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
@@ -104,6 +104,11 @@ requires_by_perl 'Software::License::Perl_5',
104104
prior 5.012 => '==0.104004',
105105
;
106106

107+
requires_by_perl 'Sub::Exporter',
108+
prior 5.012 => '==0.990',
109+
otherwise skip
110+
;
111+
107112
requires_by_perl 'Test2::Harness',
108113
prior 5.010 => skip,
109114
prior 5.014 => '==1.000156',
@@ -120,7 +125,6 @@ requires_by_perl 'Test::MockModule',
120125

121126
# Last versions which install on < 5.12
122127
if ( "$]" < 5.012 ) {
123-
requires 'Sub::Exporter', '==0.990';
124128
requires 'Test::Deep', '==1.130';
125129
}
126130
else {

0 commit comments

Comments
 (0)