ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
Re: [ID 20010721.003] Perl's configure script should be able to use Config.pm for its defaults
by Peter Prymmer other posts by this author
Jul 23 2001 6:41PM messages near this date
Re: perl@11446 | [PATCH] Print CONFIGURE params in ExtUtils::MakeMaker output
Andy Dougherty wrote:

>  You can try it right now with
> 
>          perl -MConfig -e 'print Config::config_sh();' > config.sh
>          sh Configure [whatever options you like]
>  
>  You'll find that it's not a very good idea. 

[deletia]

>  The original poster didn't specify which Configure choices needed to be
>  overridden, but my guess is that if any wants to pursue this further, I
>  think the Policy.sh angle is probably the best direction to pursue.

Wise advice.  In looking at the original post I wonder if by the complaint
about being "unable to re-use a Config.pm" the person might actually be
worried about taking an inventory of post perl build installed modules and
being able to reproduce that with the newly installed perl kit.  It seems
to be that a lot of people overlook the information provided by
perllocal.pod and perl does not ship with a util/inventory.PL ->  inventory
script that can pretty print nice tables of what's installed making use of
ExtUtils::Installed.  They also tend to overlook (or simply cannot use
owing to firewall config issues) the capabilities of CPAN.pm and the CPAN
shell.  Hence this may be a documentation issue of some sort.

I note that along with your note about the inadvisability of re-extracting
a config.sh from Config.pm using the information verbatim from
perllocal.pod verbatim may mean that you'll avoid picking up newer
versions of modules that you may want to upgrade with.

I could be wrong about the nature of the complaint though.

Peter Prymmer

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved