This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Weed buglets pointed out by
[perl5.git] / configpm
index 19d0d71..c64af8a 100755 (executable)
--- a/configpm
+++ b/configpm
@@ -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) . ")";