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