[Pdx-pm] CPAN.pm and prerequisite_policy
Todd Caine
tcaine at eli.net
Wed Aug 4 16:55:59 CDT 2004
I haven't tested this but try loading the config with CPAN::Config->load() before changing a default value.
use CPAN;
CPAN::Config->load;
$CPAN::Config->{ 'prerequisites_policy' } = 'follow';
install( "XML::LibXML" );
Cheers,
Todd
On (Wed, Aug 04 11:50), Chris Dawson wrote:
> I have been searching in vain on google for the answer, but I cannot
> figure out programmatically how to modify the Config hash in CPAN.pm.
> Is this not correct?
>
> use CPAN;
> $CPAN::Config->{ 'prerequisites_policy' } = 'follow';
> install( "XML::LibXML" );
>
> I want to temporarily ask CPAN to follow all dependencies.
>
> Thanks,
> Chris
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at mail.pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list
More information about the Pdx-pm-list
mailing list