Codebase list libmoosex-classattribute-perl / 75ec5608-a553-42be-b2b8-f18f1d58f622/main INSTALL
75ec5608-a553-42be-b2b8-f18f1d58f622/main

Tree @75ec5608-a553-42be-b2b8-f18f1d58f622/main (Download .tar.gz)

INSTALL @75ec5608-a553-42be-b2b8-f18f1d58f622/mainraw · history · blame

This is the Perl distribution MooseX-ClassAttribute.

Installing MooseX-ClassAttribute is straightforward.

## Installation with cpanm

If you have cpanm, you only need one line:

    % cpanm MooseX::ClassAttribute

If you are installing into a system-wide directory, you may need to pass the
"-S" flag to cpanm, which uses sudo to install the module:

    % cpanm -S MooseX::ClassAttribute

## Installing with the CPAN shell

Alternatively, if your CPAN shell is set up, you should just be able to do:

    % cpan MooseX::ClassAttribute

## Manual installation

As a last resort, you can manually install it. Download the tarball, untar it,
then build it:

    % perl Makefile.PL
    % make && make test

Then install it:

    % make install

If you are installing into a system-wide directory, you may need to run:

    % sudo make install

## Documentation

MooseX-ClassAttribute documentation is available as POD.
You can run perldoc from a shell to read the documentation:

    % perldoc MooseX::ClassAttribute