diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-17 17:00:05 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-17 17:00:05 +0000 |
commit | de98c55394539e7de6972ea206c9d6db5b1fd2a3 (patch) | |
tree | fcf660d3c94b29e5940583fbb1ec5b908f193c79 /configpm | |
parent | 2954239bd785bd1e3837b70fcb2957307430febf (diff) | |
download | perl-de98c55394539e7de6972ea206c9d6db5b1fd2a3.tar.gz |
make Config.pm report sane errors with older perls
p4raw-id: //depot/perl@5787
Diffstat (limited to 'configpm')
-rwxr-xr-x | configpm | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -38,6 +38,9 @@ sub import { } ENDOFBEG_NOQ +die "Perl lib version ($myver) doesn't match executable version (\$])" + unless \$^V; + \$^V eq $myver or die "Perl lib version ($myver) doesn't match executable version (" . (sprintf "v%vd",\$^V) . ")"; |