|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
This is the Perl distribution DateTime-Format-Builder.
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
Installing DateTime-Format-Builder is straightforward.
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
## Installation with cpanm
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
If you have cpanm, you only need one line:
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
% cpanm DateTime::Format::Builder
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
If you are installing into a system-wide directory, you may need to pass the
|
|
Packit |
9002b2 |
"-S" flag to cpanm, which uses sudo to install the module:
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
% cpanm -S DateTime::Format::Builder
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
## Installing with the CPAN shell
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
Alternatively, if your CPAN shell is set up, you should just be able to do:
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
% cpan DateTime::Format::Builder
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
## Manual installation
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
As a last resort, you can manually install it. Download the tarball, untar it,
|
|
Packit |
9002b2 |
then build it:
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
% perl Makefile.PL
|
|
Packit |
9002b2 |
% make && make test
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
Then install it:
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
% make install
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
If you are installing into a system-wide directory, you may need to run:
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
% sudo make install
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
## Documentation
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
DateTime-Format-Builder documentation is available as POD.
|
|
Packit |
9002b2 |
You can run perldoc from a shell to read the documentation:
|
|
Packit |
9002b2 |
|
|
Packit |
9002b2 |
% perldoc DateTime::Format::Builder
|