Subject: | Document uses worng module name |
This module correct name is Digest::Perl::MD5. but "Digest::MD5::Perl" is used in NAME.
and "use Digest::MD5" is used instead of "use Digest::Perl::MD5";
Please see patch.
Subject: | md5.patch |
--- MD5.pm.original 2015-01-31 20:51:08.985136836 +0900
+++ MD5.pm 2015-01-31 20:50:49.372891416 +0900
@@ -219,7 +219,7 @@
=head1 NAME
-Digest::MD5::Perl - Perl implementation of Ron Rivests MD5 Algorithm
+Digest::Perl::MD5 - Perl implementation of Ron Rivests MD5 Algorithm
=head1 DISCLAIMER
@@ -248,7 +248,7 @@
=head1 SYNOPSIS
# Functional style
- use Digest::MD5 qw(md5 md5_hex md5_base64);
+ use Digest::Perl::MD5 qw(md5 md5_hex md5_base64);
$hash = md5 $data;
$hash = md5_hex $data;
@@ -256,9 +256,9 @@
# OO style
- use Digest::MD5;
+ use Digest::Perl::MD5;
- $ctx = Digest::MD5->new;
+ $ctx = Digest::Perl::MD5->new;
$ctx->add($data);
$ctx->addfile(*FILE);
@@ -307,9 +307,9 @@
provided that the implementation is working correctly. The same
checksum can also be calculated in OO style:
- use Digest::MD5;
+ use Digest::Perl::MD5;
- $md5 = Digest::MD5->new;
+ $md5 = Digest::Perl::MD5->new;
$md5->add('foo', 'bar');
$md5->add('baz');
$digest = $md5->hexdigest;