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

Re: How to detect hash randomization?

Thread Previous | Thread Next
Rafael Garcia-Suarez
September 8, 2003 05:13
Re: How to detect hash randomization?
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About