summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-04-12 01:43:52 +0200
committerKevin Ryde <user42@zip.com.au>2004-04-12 01:43:52 +0200
commit71587cf409745c7304aaef636b8b85c9307908a3 (patch)
tree3d751415cfa81af46fc70cfcdb53f0cf41072c66 /demos
parent0236fb1a3e98a598696c60e50c662f18649e418b (diff)
downloadgmp-71587cf409745c7304aaef636b8b85c9307908a3.tar.gz
Correction to:
* demos/perl/sample.pl: Print the module and library versions in use.
Diffstat (limited to 'demos')
-rw-r--r--demos/perl/sample.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/perl/sample.pl b/demos/perl/sample.pl
index 81267678f..cad679bf5 100644
--- a/demos/perl/sample.pl
+++ b/demos/perl/sample.pl
@@ -25,7 +25,7 @@ use strict;
use GMP;
-print "GMP module version $GMP::VERSION using GMP library $GMP::version\n";
+print "using GMP module $GMP::VERSION and GMP library ",GMP::version(),"\n";
use GMP::Mpz qw(:all);