| 1 |
This is the Perl distribution Catalyst-Controller-ActionRole. |
| 2 |
|
| 3 |
Installing Catalyst-Controller-ActionRole is straightforward. |
| 4 |
|
| 5 |
## Installation with cpanm |
| 6 |
|
| 7 |
If you have cpanm, you only need one line: |
| 8 |
|
| 9 |
% cpanm Catalyst::Controller::ActionRole |
| 10 |
|
| 11 |
If you are installing into a system-wide directory, you may need to pass the |
| 12 |
"-S" flag to cpanm, which uses sudo to install the module: |
| 13 |
|
| 14 |
% cpanm -S Catalyst::Controller::ActionRole |
| 15 |
|
| 16 |
## Installing with the CPAN shell |
| 17 |
|
| 18 |
Alternatively, if your CPAN shell is set up, you should just be able to do: |
| 19 |
|
| 20 |
% cpan Catalyst::Controller::ActionRole |
| 21 |
|
| 22 |
## Manual installation |
| 23 |
|
| 24 |
As a last resort, you can manually install it. Download the tarball, untar it, |
| 25 |
then build it: |
| 26 |
|
| 27 |
% perl Build.PL |
| 28 |
% ./Build && ./Build test |
| 29 |
|
| 30 |
Then install it: |
| 31 |
|
| 32 |
% ./Build install |
| 33 |
|
| 34 |
If you are installing into a system-wide directory, you may need to run: |
| 35 |
|
| 36 |
% sudo ./Build install |
| 37 |
|
| 38 |
## Documentation |
| 39 |
|
| 40 |
Catalyst-Controller-ActionRole documentation is available as POD. |
| 41 |
You can run perldoc from a shell to read the documentation: |
| 42 |
|
| 43 |
% perldoc Catalyst::Controller::ActionRole |