String::CRC32 man page on OpenServer

Man page or keyword search:  
man Server   5388 pages
apropos Keyword Search (all sections)
Output format
OpenServer logo
[printable version]

CRC32(3)	      User Contributed Perl Documentation	      CRC32(3)

NAME
       String::CRC32 - Perl interface for cyclic redundency check generation

SYNOPSIS
	   use String::CRC32;

	   $crc = crc32("some string");
	   $crc = crc32("some string", initvalue);

	   $somestring = "some string";
	   $crc = crc32($somestring);

	   open(SOMEFILE, "location/of/some.file");
	   $crc = crc32(*SOMEFILE);
	   close(SOMEFILE);

DESCRIPTION
       The CRC32 module calculates CRC sums of 32 bit lenghts.	It generates
       the same CRC values as ZMODEM, PKZIP, PICCHECK and many others.

       Despite its name, this module is able to compute the checksum of files
       as well as strings.

EXAMPLES
	   $crc = crc32("some string");

	 results in the same as

	   $crc = crc32(" string", crc32("some"));

       This is useful for subsequent CRC checking of substrings.

       You may even check files:

	   open(SOMEFILE, "location/of/some.file");
	   $crc = crc32(*SOMEFILE);
	   close(SOMEFILE);

       A init value may also been supplied in the above example.

AUTHOR
       Soenke J. Peters <peters__perl@opcenter.de>

       Please be so kind as to report any bugs/suggestions to the above
       address.

COPYRIGHT
       CRC algorithm code taken from CRC-32 by Craig Bruce.  The module stuff
       is inspired by a similar perl module called String::CRC by David
       Sharnoff & Matthew Dillon.  Horst Fickenscher told me that it could be
       useful to supply an init value to the crc checking function and so I
       included this possibility.

       The author of this package disclaims all copyrights and releases it
       into the public domain.

perl v5.8.8			  2005-04-04			      CRC32(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net