develooper Front page | perl.perl5.porters | Postings from September 2003

Re: How to detect hash randomization?

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
September 8, 2003 05:13
Subject:
Re: How to detect hash randomization?
Message ID:
20030908140313.3ec9367e.rgarciasuarez@free.fr
Dan Sugalski wrote:
> > 
> > Hmmm... there is also a run-time component to this check, namely 
> > whether or not PERL_HASH_SEED is set or not.  So that would imply 
> > some more magic in the tied %Config hash...  ;-(
> 
> Not necessarily. %Config is for compile-time stuff, so it really ought not 
> be in there.

I'd even say, %Config is for configure-time stuff :)

> Besides, adding in tied components to it is somewhat 
> problematic.

But there are already additional ("virtual") tied components in it.

> I'd suggest adding in a %^C hash with runtime config settings, but Jarkko 
> knows where I live... :)

Maybe Hash::Util would be a sensible place for this utility function.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About