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

Re: How to detect hash randomization?

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
September 8, 2003 04:21
Subject:
Re: How to detect hash randomization?
Message ID:
20030908132044.AD6B.H.M.BRAND@hccnet.nl
On Mon 08 Sep 2003 13:10, Nicholas Clark <nick@ccl4.org> wrote:
> On Mon, Sep 08, 2003 at 12:46:59PM +0200, Elizabeth Mattijsen wrote:
> 
> > Now I realize that this was probably caused by the fact that somehow 
> > either the installed Config.pm or libperl was queried.  Not sure 
> > whether this is a bug or a feature  ;-(
> 
> It's querying Config.pm as found in @INC. If you're running from an
> uninstalled perl you have to remember to do things like ./perl -Ilib -V
> 
> > However, Config.pm is rather heavy, so I'd like to prevent that being loaded.
> 
> I think that I had trying to make Config.pm less heavy in my TODO.

And it's probably still faster than spawning a second perl
(which is likely to use Config anyway)

> as a start, I was considering surveying which values in %Config are
> popular, to try to partition those from the vast majority, which are
> deadweight in nearly every program. As %Config is a tied hash, I believe
> that it can all be done transparently.
> 
> Nicholas Clark

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on  HP-UX 10.20 & 11.00, 11i,
   AIX 4.3, SuSE 8.2, and Win2k.           http://www.cmve.net/~merijn/
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org



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