[libmath-prime-util-perl] 07/40: Use Data::Dump::dumpf
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:49:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.30
in repository libmath-prime-util-perl.
commit 3671c325819e6f5cba511e72c2d3a9b0b4a0877e
Author: Dana Jacobsen <dana at acm.org>
Date: Mon Jun 24 08:32:50 2013 -0700
Use Data::Dump::dumpf
---
examples/verify-gmp-ecpp-cert.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/verify-gmp-ecpp-cert.pl b/examples/verify-gmp-ecpp-cert.pl
index f816506..f5c492c 100755
--- a/examples/verify-gmp-ecpp-cert.pl
+++ b/examples/verify-gmp-ecpp-cert.pl
@@ -3,7 +3,7 @@ use warnings;
use strict;
use Math::BigInt try=>"GMP,Pari";
use Math::Prime::Util qw/:all/;
-use Data::Dump qw/dump/;
+use Data::Dump qw/dumpf/;
my $bifilter = sub { my($ctx, $n) = @_;
return {dump=>"$n"} if ref($n) eq "Math::BigInt";
undef; };
@@ -64,5 +64,5 @@ while (<>) {
}
}
-print dump_filtered(\@cert, $bifilter), "\n";
+print dumpf(\@cert, $bifilter), "\n";
print verify_prime(@cert) ? "SUCCESS\n" : "FAILURE\n";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list