summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-18 16:04:52 +0000
committerfukachan <fukachan>2001-02-18 16:04:52 +0000
commitd253f2ea3a9fae6d2c2c23b394ea49eef4c30567 (patch)
tree5166baa5ca95a1514253c9f6c3cda3279e915f4a /fml
parentb6cb650913195de3d8045e34363eaaf5873cd37b (diff)
downloadfml8-d253f2ea3a9fae6d2c2c23b394ea49eef4c30567.tar.gz
fml8-d253f2ea3a9fae6d2c2c23b394ea49eef4c30567.tar.bz2
fml8-d253f2ea3a9fae6d2c2c23b394ea49eef4c30567.zip
clean up document
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/FML/Checksum.pm42
1 files changed, 25 insertions, 17 deletions
diff --git a/fml/lib/FML/Checksum.pm b/fml/lib/FML/Checksum.pm
index a0c24b10..22bcb7e1 100644
--- a/fml/lib/FML/Checksum.pm
+++ b/fml/lib/FML/Checksum.pm
@@ -13,6 +13,31 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
+=head1 NAME
+
+FML::Checksum - utilities for check sum
+
+=head1 SYNOPSIS
+
+ use FML::Checksum;
+ $cksum = new FML::Checksum;
+ $md5sum = $cksum->md5( \$string );
+
+=head1 METHODS
+
+=head2 C<new()>
+
+the constructor.
+It checks we can use MD5 perl module or should use some programs e.g.
+C<md5>, C<cksum>, et.al.
+
+=head2 C<md5(\$string)>
+
+return the md5 checksum of C<$string>.
+
+=cut
+
+
require Exporter;
@ISA = qw(Exporter);
@@ -116,23 +141,6 @@ sub _md5_by_program
}
-
-=head1 NAME
-
-FML::Checksum - what is this
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 CLASSES
-
-=head1 METHODS
-
-=item C<new()>
-
-... what is this ...
-
=head1 AUTHOR
Ken'ichi Fukamachi