Blame INSTALL

Packit 03f954
This is the Perl distribution Net-HTTP.
Packit 03f954
Packit 03f954
Installing Net-HTTP is straightforward.
Packit 03f954
Packit 03f954
## Installation with cpanm
Packit 03f954
Packit 03f954
If you have cpanm, you only need one line:
Packit 03f954
Packit 03f954
    % cpanm Net::HTTP
Packit 03f954
Packit 03f954
If it does not have permission to install modules to the current perl, cpanm
Packit 03f954
will automatically set up and install to a local::lib in your home directory.
Packit 03f954
See the local::lib documentation (https://metacpan.org/pod/local::lib) for
Packit 03f954
details on enabling it in your environment.
Packit 03f954
Packit 03f954
## Installing with the CPAN shell
Packit 03f954
Packit 03f954
Alternatively, if your CPAN shell is set up, you should just be able to do:
Packit 03f954
Packit 03f954
    % cpan Net::HTTP
Packit 03f954
Packit 03f954
## Manual installation
Packit 03f954
Packit 03f954
As a last resort, you can manually install it. Download the tarball, untar it,
Packit 03f954
then build it:
Packit 03f954
Packit 03f954
    % perl Makefile.PL
Packit 03f954
    % make && make test
Packit 03f954
Packit 03f954
Then install it:
Packit 03f954
Packit 03f954
    % make install
Packit 03f954
Packit 03f954
If your perl is system-managed, you can create a local::lib in your home
Packit 03f954
directory to install modules to. For details, see the local::lib documentation:
Packit 03f954
https://metacpan.org/pod/local::lib
Packit 03f954
Packit 03f954
## Documentation
Packit 03f954
Packit 03f954
Net-HTTP documentation is available as POD.
Packit 03f954
You can run perldoc from a shell to read the documentation:
Packit 03f954
Packit 03f954
    % perldoc Net::HTTP