Debian Codegraph @

INSTALL

raw
1 This is the Perl distribution Path-Dispatcher.
2
3 Installing Path-Dispatcher is straightforward.
4
5 ## Installation with cpanm
6
7 If you have cpanm, you only need one line:
8
9 % cpanm Path::Dispatcher
10
11 If it does not have permission to install modules to the current perl, cpanm
12 will automatically set up and install to a local::lib in your home directory.
13 See the local::lib documentation (https://metacpan.org/pod/local::lib) for
14 details on enabling it in your environment.
15
16 ## Installing with the CPAN shell
17
18 Alternatively, if your CPAN shell is set up, you should just be able to do:
19
20 % cpan Path::Dispatcher
21
22 ## Manual installation
23
24 As a last resort, you can manually install it. Download the tarball, untar it,
25 install configure prerequisites (see below), then build it:
26
27 % perl Build.PL
28 % ./Build && ./Build test
29
30 Then install it:
31
32 % ./Build install
33
34 Or the more portable variation:
35
36 % perl Build.PL
37 % perl Build
38 % perl Build test
39 % perl Build install
40
41 If your perl is system-managed, you can create a local::lib in your home
42 directory to install modules to. For details, see the local::lib documentation:
43 https://metacpan.org/pod/local::lib
44
45 The prerequisites of this distribution will also have to be installed manually. The
46 prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated
47 by running the manual build process described above.
48
49 ## Configure Prerequisites
50
51 This distribution requires other modules to be installed before this
52 distribution's installer can be run. They can be found under the
53 "configure_requires" key of META.yml or the
54 "{prereqs}{configure}{requires}" key of META.json.
55
56 ## Other Prerequisites
57
58 This distribution may require additional modules to be installed after running
59 Build.PL or Makefile.PL.
60 Look for prerequisites in the following phases:
61
62 * to run ./Build or make, PHASE = build
63 * to use the module code itself, PHASE = runtime
64 * to run tests, PHASE = test
65
66 They can all be found in the "PHASE_requires" key of MYMETA.yml or the
67 "{prereqs}{PHASE}{requires}" key of MYMETA.json.
68
69 ## Documentation
70
71 Path-Dispatcher documentation is available as POD.
72 You can run `perldoc` from a shell to read the documentation:
73
74 % perldoc Path::Dispatcher
75
76 For more information on installing Perl modules via CPAN, please see:
77 https://www.cpan.org/modules/INSTALL.html