Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. sudo apt install libcpan-mini-perl
- 2. mkdir -p /path/to/minicpan
- 3. nano -w ./update-mirror-run-me.pl
- #!/usr/bin/perl
- use CPAN::Mini;
- CPAN::Mini->update_mirror(
- remote => "https://www.cpan.org/",
- local => "/path/to/minicpan",
- log_level => 'debug',
- );
- 4. chmod +x ./update-mirror-run-me.pl
- 5. ./update-mirror-run-me.pl
- 6. Use of new local CPAN repo (TBD)
Add Comment
Please, Sign In to add comment