summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm3
1 files changed, 3 insertions, 0 deletions
diff --git a/configpm b/configpm
index 19d0d718dd..c64af8a13b 100755
--- 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) . ")";