summaryrefslogtreecommitdiff
path: root/demos/perl
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-12-10 01:08:08 +0100
committerKevin Ryde <user42@zip.com.au>2003-12-10 01:08:08 +0100
commitb8d0242ee6f2b8a874f1dacfcfcf9a643420622b (patch)
tree7595ad0e3fd6c679c5a6c3cd55ed9e5c9f12c07e /demos/perl
parent5d0b12380f8ddf83c170c124b8ed62e9eb8892a2 (diff)
downloadgmp-b8d0242ee6f2b8a874f1dacfcfcf9a643420622b.tar.gz
* demos/perl/test.pl: Should be $] for perl version in old perl.
Diffstat (limited to 'demos/perl')
-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";
}