Blame INSTALL

Packit a09cf7
This is the Perl distribution HTTP-Message.
Packit a09cf7
Packit a09cf7
Installing HTTP-Message is straightforward.
Packit a09cf7
Packit a09cf7
## Installation with cpanm
Packit a09cf7
Packit a09cf7
If you have cpanm, you only need one line:
Packit a09cf7
Packit a09cf7
    % cpanm HTTP::Message
Packit a09cf7
Packit a09cf7
If it does not have permission to install modules to the current perl, cpanm
Packit a09cf7
will automatically set up and install to a local::lib in your home directory.
Packit a09cf7
See the local::lib documentation (https://metacpan.org/pod/local::lib) for
Packit a09cf7
details on enabling it in your environment.
Packit a09cf7
Packit a09cf7
## Installing with the CPAN shell
Packit a09cf7
Packit a09cf7
Alternatively, if your CPAN shell is set up, you should just be able to do:
Packit a09cf7
Packit a09cf7
    % cpan HTTP::Message
Packit a09cf7
Packit a09cf7
## Manual installation
Packit a09cf7
Packit a09cf7
As a last resort, you can manually install it. Download the tarball, untar it,
Packit a09cf7
then build it:
Packit a09cf7
Packit a09cf7
    % perl Makefile.PL
Packit a09cf7
    % make && make test
Packit a09cf7
Packit a09cf7
Then install it:
Packit a09cf7
Packit a09cf7
    % make install
Packit a09cf7
Packit a09cf7
On Windows platforms, you should use `dmake` or `nmake`, instead of `make`.
Packit a09cf7
Packit a09cf7
If your perl is system-managed, you can create a local::lib in your home
Packit a09cf7
directory to install modules to. For details, see the local::lib documentation:
Packit a09cf7
https://metacpan.org/pod/local::lib
Packit a09cf7
Packit a09cf7
Packit a09cf7
The prerequisites of this distribution will also have to be installed manually. The
Packit a09cf7
prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated
Packit a09cf7
by running the manual build process described above.
Packit a09cf7
Packit a09cf7
## Documentation
Packit a09cf7
Packit a09cf7
HTTP-Message documentation is available as POD.
Packit a09cf7
You can run `perldoc` from a shell to read the documentation:
Packit a09cf7
Packit a09cf7
    % perldoc HTTP::Message
Packit a09cf7
For more information on installing Perl modules via CPAN, please see:
Packit a09cf7
https://www.cpan.org/modules/INSTALL.html