develooper Front page | perl.perl5.porters | Postings from June 2002

Re: threads and use Config

Thread Previous | Thread Next
Elizabeth Mattijsen
June 26, 2002 09:34
Re: threads and use Config
Message ID:
At 12:05 AM 6/26/02 +0200, Arthur Bergman wrote:
>Since Simon pointed out to me that both DynaLoader AND C<use 
>Config> I have decided NOT to remove the dependency of from 

Please note that that is not true for if Perl was made with


If that environment variable is set, the system dependent information is 
hard-wired into  Which is an improvement that apparently happened 
on November 1st 2000, patch 7522 (according to Changes).

    Expand %Config variables and %ENV variables only if
    so requested during build time using the
    Not expanding makes relocating distributions easier.

I'm wondering whether the "relocating distributions easier" is something 
that the majority of the Perl users need, to warrant it being the default.

In my case a diff between the hardwired and the "Config" is:

-use Config;

-my $archname         = $Config{archname};
-my $version          = $Config{version};
-my @inc_version_list = reverse split / /, $Config{inc_version_list};
+my $archname         = 'i686-linux-thread-multi';
+my $version          = '5.8.0';
+my @inc_version_list = 5.7.3;

Anyway, bloat _can_ be prevented when using  Which might 
be a tip for the mod_perl tuning documentation (Stas?).


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About