]> sipb.mit.edu Git - wiki.git/blobdiff - doc/cpan.mdwn
2024 update
[wiki.git] / doc / cpan.mdwn
index 662281cc0df22a8f44bfb73fd61b2e941e928277..9e56c74745a7fed14b053d043e0208c1a71cc884 100644 (file)
@@ -2,7 +2,7 @@
 
 If you're mostly familiar with this document, and just want the incants, skip to the <a href="#cheatsheet">cheat sheet</a>.
 
-[CPAN](http://cpan.org) is the "Comprehensive Perl Archive Network", a repository of useful Perl modules. Most projects written in Perl depend on at least one module from CPAN, and dependency graphs of dozens of modules are not uncommon. Unfortunately, installing CPAN modules can be somewhat tricky, in part due to the age of many of the tools involved. This document is designed to help someone who is not a Perl programmer learn how to get a CPAN module or set of modules installed with a minimum of pain.
+[CPAN](https://cpan.org) is the "Comprehensive Perl Archive Network", a repository of useful Perl modules. Most projects written in Perl depend on at least one module from CPAN, and dependency graphs of dozens of modules are not uncommon. Unfortunately, installing CPAN modules can be somewhat tricky, in part due to the age of many of the tools involved. This document is designed to help someone who is not a Perl programmer learn how to get a CPAN module or set of modules installed with a minimum of pain.
 
 ## Is it in my distribution?
 
@@ -36,8 +36,8 @@ You can now run `perl -I/path/to/install/lib/perl5/ -Mlocal::lib` to get a fragm
 
 For more details, such as how to manage multiple different `local::lib` installations, see `local::lib`'s [documentation on CPAN][local::lib]
 
-[local::lib]: http://search.cpan.org/perldoc?local::lib "local::lib"
-[lltgz]: http://www.cpan.org/modules/by-module/lib/local-lib-1.008004.tar.gz
+[local::lib]: https://search.cpan.org/perldoc?local::lib "local::lib"
+[lltgz]: https://www.cpan.org/modules/by-module/lib/local-lib-1.008004.tar.gz
 
 ## Automatically installing dependencies
 
@@ -60,7 +60,7 @@ By default, CPAN prompts you whether or not to follow dependencies when installi
 
 I work around this for BarnOwl by having completely separate perl module installs for every AFS sysname we support. This is painful to maintain, but I've found it to be the most reliable option.
 
-[filetest]: http://perldoc.perl.org/filetest.html
+[filetest]: https://perldoc.perl.org/filetest.html
 
 
 ## Cheat-sheet
@@ -77,7 +77,7 @@ I work around this for BarnOwl by having completely separate perl module install
     cpan> install Some::Module
 
 ### Installing packages into a directory
-    $ wget http://www.cpan.org/modules/by-module/lib/local-lib-1.008004.tar.gz
+    $ wget https://www.cpan.org/modules/by-module/lib/local-lib-1.008004.tar.gz
     $ tar xzf local-lib-1.008004.tar.gz
     $ cd local-lib-1.008004/
     $ perl Makefile.PL --bootstrap=/install/dir/