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