🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #277

Re: Calculate a file's checksum with Perl?

#277
From: Alfonso PALACIOS SUREDA
Date: Fri, 21 Jan 2000 00:00
20 lines
1459 bytes
David Cassell wrote:
> It should be slightly different.  This has at least one typo in it, and
> has been changed in later docs.  You may want to be sure in future to
> read the online docs which come with perl, instead of docs in books,
> however authoritative the title may sound.

I've searched the online docs in http://www.cpan.org and in
http://www.perl.com and I found the very same algorithm. Is there a more
updated doc somewhere else?

> > - Can I still use this number as a checksum, like System V's?
> 
> Yes, you just can't compare it directly to the SysV checksum.

Anyway, if the number I get whith this method is guaranteed to be
unique, I don't care if it's different from the one I get whith "sum".

Thank you

	Alfonso
Technical Details
Message-ID: <38885E85.14C84ABB@alcatel.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <388720EF.D7364F8@alcatel.fr> <3887A587.7C9C7531@mail.cor.epa.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112333,e5f5de2a0ef43657
X-Google-Attributes: gid112333,public
X-Google-Thread: fa0ae,e5f5de2a0ef43657
X-Google-Attributes: gidfa0ae,public
From: Alfonso PALACIOS SUREDA <alfonso.palacios-sureda@alcatel.fr>
Subject: Re: Calculate a file's checksum with Perl?
Date: 2000/01/21
Message-ID: <38885E85.14C84ABB@alcatel.fr>
X-Deja-AN: 575710443
Content-Transfer-Encoding: 7bit
References: <388720EF.D7364F8@alcatel.fr> <3887A587.7C9C7531@mail.cor.epa.gov>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Alcanet International France
Mime-Version: 1.0
Newsgroups: comp.lang.perl.misc,fr.comp.lang.perl