Modifying perl config by hand – just modify Config.pm

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

The post below will show you how to generate the Config.pm
Then if you still need configuration changes (for example proxy) just modify the file by hand.

To initially configure perl cpan.

Make note of the config file & directory, for example below its /user/.cpan/CPAN/MyConfig.pm

Now you can just modify the Config.pm by hand, for example to modify your proxy or any other changes.

An example Config.pm is below (note the user user was used as the user.

Now to install any module from commend line just run.

Leave a Reply

avatar
  Subscribe  
Notify of