summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/perl/test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/perl/test.pl b/demos/perl/test.pl
index e329193c7..6490a0b19 100644
--- a/demos/perl/test.pl
+++ b/demos/perl/test.pl
@@ -2144,7 +2144,7 @@ ok (mpf(123) ->sgn() == 1);
#------------------------------------------------------------------------------
# overloaded constants
-if ($^V > 5.00503) {
+if ($] > 5.00503) {
if (! do 'test2.pl') {
die "Cannot run test2.pl\n";
}