diff options
author | Sawyer X <xsawyerx@cpan.org> | 2018-04-19 13:04:27 +0200 |
---|---|---|
committer | Sawyer X <xsawyerx@cpan.org> | 2018-04-19 14:13:27 +0200 |
commit | f551177de1123b99e3f2210b576706ec9e256b80 (patch) | |
tree | 604a1631f226c7e40c719d85deb16e9c1f79b6a7 /dist/Devel-PPPort/Makefile.PL | |
parent | 600c10ce9c7713290d77a267b6187a24b4434798 (diff) | |
download | perl-f551177de1123b99e3f2210b576706ec9e256b80.tar.gz |
Devel-PPPort: Stringify Perl version in Makefile.PL:
This commit was available in the Github repo. Original commit:
commit 066d7b8382ad61476c9b56086d46a2c92959ff00
Author: Karen Etheridge <ether@cpan.org>
Date: Mon Jul 11 15:09:01 2016 -0700
stringify version before comparing, as recommended by Zefram
Diffstat (limited to 'dist/Devel-PPPort/Makefile.PL')
-rw-r--r-- | dist/Devel-PPPort/Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Devel-PPPort/Makefile.PL b/dist/Devel-PPPort/Makefile.PL index 117f9d107a..6bd51405a6 100644 --- a/dist/Devel-PPPort/Makefile.PL +++ b/dist/Devel-PPPort/Makefile.PL @@ -83,7 +83,7 @@ sub configure # Devel::PPPort is in the core since 5.7.3 # 5.11.0+ has site before perl push @moreopts, INSTALLDIRS => ( - ($] >= 5.007003 and $] < 5.011) + ("$]" >= 5.007003 and "$]" < 5.011) ? 'perl' : 'site' ); |