summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
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);