forked from cheat/cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpan
42 lines (30 loc) · 789 Bytes
/
cpan
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
tags: [ perl ]
---
# install one or more modules
cpan <Some::Module> [Another::Module]
# force install a module
cpan -fi <Some::Module>
# install a module in local::lib
cpan -I <Some::Module>
# install a module while skipping all tests
cpan -T <Some::Module>
# see a module changes, without installing it
cpan -C <Some::Module>
# see a module's details, without installing it
cpan -D <Some::Module>
# list close matches to a module's name
cpan -x <Some::Mdule>
# download a distro, without installing it
cpan -g <Some::Module>
# list all installed modules with their versions
cpan -l <Some::Module>
# create a CPAN Autobundle
cpan -a
# install the module in the current distro directory
cpan .
# start the CPAN shell
cpan
cpan -s
# read the complete cpan docs
perldoc cpan