File: INSTALL

package info (click to toggle)
libparams-validate-perl 1.29-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 996 kB
  • ctags: 879
  • sloc: perl: 2,362; makefile: 3
file content (43 lines) | stat: -rw-r--r-- 1,176 bytes parent folder | download | duplicates (2)
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
43
This is the Perl distribution Params-Validate.

Installing Params-Validate is straightforward.

## Installation with cpanm

If you have cpanm, you only need one line:

    % cpanm Params::Validate

If it does not have permission to install modules to the current perl, cpanm
will automatically set up and install to a local::lib in your home directory.
See the local::lib documentation (https://metacpan.org/pod/local::lib) for
details on enabling it in your environment.

## Installing with the CPAN shell

Alternatively, if your CPAN shell is set up, you should just be able to do:

    % cpan Params::Validate

## Manual installation

As a last resort, you can manually install it. Download the tarball, untar it,
then build it:

    % perl Build.PL
    % ./Build && ./Build test

Then install it:

    % ./Build install

If your perl is system-managed, you can create a local::lib in your home
directory to install modules to. For details, see the local::lib documentation:
https://metacpan.org/pod/local::lib

## Documentation

Params-Validate documentation is available as POD.
You can run perldoc from a shell to read the documentation:

    % perldoc Params::Validate