Debian Codegraph @

INSTALL

raw
1
2 This is the Perl distribution Path-Class.
3
4 Installing Path-Class is straightforward.
5
6 ## Installation with cpanm
7
8 If you have cpanm, you only need one line:
9
10 % cpanm Path::Class
11
12 If you are installing into a system-wide directory, you may need to pass the
13 "-S" flag to cpanm, which uses sudo to install the module:
14
15 % cpanm -S Path::Class
16
17 ## Installing with the CPAN shell
18
19 Alternatively, if your CPAN shell is set up, you should just be able to do:
20
21 % cpan Path::Class
22
23 ## Manual installation
24
25 As a last resort, you can manually install it. Download the tarball, untar it,
26 then build it:
27
28 % perl Build.PL
29 % ./Build && ./Build test
30
31 Then install it:
32
33 % ./Build install
34
35 If you are installing into a system-wide directory, you may need to run:
36
37 % sudo ./Build install
38
39 ## Documentation
40
41 Path-Class documentation is available as POD.
42 You can run perldoc from a shell to read the documentation:
43
44 % perldoc Path::Class