develooper Front page | perl.perl5.porters | Postings from October 1999

Re: PERL_HEADER env varb: was: Addition to @INC

From:
Chip Salzenberg
Date:
October 20, 1999 23:16
Subject:
Re: PERL_HEADER env varb: was: Addition to @INC
Message ID:
19991020212126.J1702@perlsupport.com
According to Ed Peschko:
> On Wed, Oct 20, 1999 at 09:03:12PM -0700, Chip Salzenberg wrote:
> >According to Ed Peschko:
> >> Ok, I could live with that - can PERL5OPTS be set to a default
> >> whilst compiling perl itself?
> >
> >Not at present.  But it wouldn't be hard to add -- just look for the
> >getenv() call.
> 
> Well, I can hack the code for perl fairly easy, but

* UNDERSTATEMENT ALERT *

> adding it to the Configure script is the difficult part.

* UNDERSTATEMENT ALERT ENDS *

> Exactly what magic goes into generating that, anyways?

That's a long story, involving Larry's metaconfig package, a list of
standard "units" that configure one or more values, another list of
perl-specific units, and a lot of handwaving.

Or we just hack Configure and config* by hand and clean it up later.
-- 
Chip Salzenberg             - a.k.a. -              <chip@valinux.com>
           "I am the Lemon Zester of Destruction!"  //MST3K



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