Programming with Moose/Obtaining Moose
There are numerous way you can obtain the latest version of Moose. Some of the more popular methods are listed below.
CPAN[edit | edit source]
Using the CPAN module:
perl -MCPAN -e"install Moose"
Using the interactive shell, in non-interactive mode:
To use the shell in interactive mode simply:
cpan cpan> install Moose
Tarball[edit | edit source]
Download from http://search.cpan.org/dist/Moose/.
tar xzvvf Moose* cd Moose* perl Makefile.PL sudo make install
Debian (and Debian-derived systems)[edit | edit source]
If you're running Debian, or a Debian-based system, your package manager can install Moose. Using this method has advantages and disadvantages. The disadvantage is that you will not always be running the bleeding edge of Moose, and not all Moose extensions are packaged for Debian. The advantages are that you get quality control, security tracking, and ease of installation with Debian's APT.
To install Moose on a Debian system;
apt-get install libmoose-perl