I have found that there is documentation indicating the automation of
modules:
        perl -MCPAN -e 'install Bundle::myBundle'
where myBundle is basically a pod file with =head1 CONTENTS and then a
list of the modules to install.

I have seen some documentation using the interactive CPAN shell that
indicates that using o conf <scalar option> <value> allows the setting
of these particular values.  I have not found documentation on scripting
out the parameters to the Config.pm file.  I was considering echoing the
values out to the file, but I would prefer to send perl commands so as
not to mess up the format or syntax, i.e. perl [some switch(s)] [some
arguments].

thanks,

Michael

p.s. Sorry about the perl



> >From a bash shell on Red Hat AS 3, can I automatically create the
> /usr/lib/perl5/5.8.0/CPAN/Config.pm file?
> 
> I am trying to automate the installation of some PERL modules but I 
> would like to automate the initial configuration step as well.
> 

Does it work? Have you tried? What was the result?  

Depending on the user running the automation non root that is, you may
need a ~/.cpan/CPAN/MyConfig.pm.

perldoc CPAN for more on automation of install of modules.

http://danconia.org

p.s. Perl or perl, never PERL

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to