CRC::cksum module - suitable name?
From: Andrew Hamm (ahamm_at_mail.com)
Date: 10/21/03
- Next message: Sisyphus: "Re: CRC::cksum module - suitable name?"
- Previous message: pos7i7: "Private key & PKCS#12 files"
- Next in thread: Sisyphus: "Re: CRC::cksum module - suitable name?"
- Reply: Sisyphus: "Re: CRC::cksum module - suitable name?"
- Reply: Peter J. Acklam: "Re: CRC::cksum module - suitable name?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Oct 2003 14:45:00 +1000
Folks,
I've written a simple module which calculates the CRC identically to the
cksum UNIX command. This was necessary because the few existing CRC/checksum
functions available at CPAN do not appear to produce the same result as the
cksum program.
The code is taken from a C example, converted to Perl. It processes an
in-memory string, but a really really obvious extension is to make it
process from a File handle too.
So, the module itself is very straightforward; the only tricky bit is
picking a name. Any suggestions? CRC:: is not really a suitable top-level.
Perhaps something inside Algorithm:: will do? eg Algorithm::Cksum
- Next message: Sisyphus: "Re: CRC::cksum module - suitable name?"
- Previous message: pos7i7: "Private key & PKCS#12 files"
- Next in thread: Sisyphus: "Re: CRC::cksum module - suitable name?"
- Reply: Sisyphus: "Re: CRC::cksum module - suitable name?"
- Reply: Peter J. Acklam: "Re: CRC::cksum module - suitable name?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]