Use back-compatible variable for perl version
[exim.git] / src / src / exigrep.src
index 118cd91b91d41c00fd21c76e99fb53b6458415b3..9e5c7d8b7f2c46dc77960b61f99ecb92f607bfab 100644 (file)
@@ -233,7 +233,7 @@ GetOptions(
       'version'        => sub {
             print basename($0) . ": $0\n",
                 "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n",
-                "perl(runtime): $^V\n";
+                "perl(runtime): $]\n";
             exit 0;
       },
 ) and @ARGV or pod2usage;