[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] CRC.pm for Macintosh



At 8:31 PM -0500 1/4/99, Chris Nandor wrote:
}
} I did notice that Paul Schinder's Mac::Conversions has some CRC check in
} it, but I didn't look too closely at it.  It is at
} <URL:http://www.pobox.com/~schinder/MacPerl.html>.

It's just using Convert::BinHex's macbinary_crc() to compute a checksum for
the MacBinary header, as I recall.  (It's also the only MacBinary code I
know that actually does this; all the MacBinary examples I looked at when I
was writing this had a 0 in the checksum slot.  Not suprising, I suppose,
since only the header is checksummed, so it seems rather pointless.)
Convert::BinHex can be found at CPAN:
<http://cpan.perl.com/?action=get_dist_by_module&item=Convert%3A%3ABinHex&Submit
=Submit+Query>

}
} --
} Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
} %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])
}
} ***** Want to unsubscribe from this list?
} ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch



-----
Paul J. Schinder
schinder@pobox.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch