perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <>
Subject Re: rfc: adding a bootstrap magic check to mp2 DSO libs
Date Fri, 06 Jun 2003 07:06:29 GMT
On Fri, 2003-06-06 at 01:08, Geoffrey Young wrote:
> > we could md5 the perl binary? 
> eeck!
> what about computing an MD5 hash of various attributes of both perl and 
> mod_perl - combine a few important bits from $Config the important version 
> and compile options from mod_perl/apache?

I've got nothing against combining a few important bits from Config and
others, but please no MD5 hashing ;-( I'd rather use the perl way:

perl -V:archname

otherperl -V:archname

The difference is obvious, as opposed to this:

"error. binary incompatibility detected with
4648526406e458418670b4360eea66e0 vs 52daab6784de496a3c123fa1b3b442b8,
please fix this!"

"error. binary incompatibility detected with i686-linux-perlio vs
i686-linux-thread-multi-perlio please fix this!"

But I've tried before and it's quite tricky to get the exact right
combination of $Config, USE_LARGE_FILES, etc that will guarantee binary

But I do agree we should be trying as hard as possible ;-)

> --Geoff
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
-- -----------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B)    F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so ingenious.
perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'

View raw message