This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



IO::Digest(3)                        User Contributed Perl Documentation                       IO::Digest(3)



NAME
       IO::Digest - Calculate digests while reading or writing

SYNOPSIS
        use IO::Digest;

        # Get a Digest::MD5 object that takes input while $fh being written or read
        $iod = IO::Digest->new ($fh, 'MD5');

        print $fh "fooo";
        print $iod->hexdigest

DESCRIPTION
       This module allows you to calculate digests while reading or writing file handles.  This avoids the
       case you need to reread the same content to compute the digests after written a file.

TEST COVERAGE
        ----------------------------------- ------ ------ ------ ------ ------ ------File -----File
        File                                  stmt branch   cond    sub   time  total
        ----------------------------------- ------ ------ ------ ------ ------ ------blib/lib/IO/Digest.pm -----blib/lib/IO/Digest.pm
        blib/lib/IO/Digest.pm                100.0    n/a    n/a  100.0  100.0  100.0
        Total                                100.0    n/a    n/a  100.0  100.0  100.0
        ----------------------------------- ------ ------ ------ ------ ------ ------AUTHORS -----AUTHORS

AUTHORS
       Chia-liang Kao <[email protected]>

COPYRIGHT
       Copyright 2004 by Chia-liang Kao <[email protected]>.

       This program is free software; you can redistribute it and/or modify it under the same terms as Perl
       itself.

       See <http://www.perl.com/perl/misc/Artistic.html>



perl v5.8.9                                      2004-09-11                                    IO::Digest(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the Perl project. (See perlbug(1) for submission instructions.)
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the Perl project using perlbug(1).
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.