I recently decided to get with the program and use Moose in my current/impending projects. All the cool kids are doing it!
I immediately hit a roadblock: I'm using ActiveState Perl, and their repository does not have Moose. (Apparently they had some problems building it.)
So I went searching, got help, and resolved my problems. Now I have Moose installed. Here's how I did it, and below are links to essential Moose-related resources.
But first, I want to mention something which I found confusing: MooseX. What is MooseX? How is it different from Moose?
MooseX is a namespace for Moose eXtensions which are not part of the Moose package proper. You will find a large number of Moose extensions in the MooseX namepace on CPAN.
Alternative ppm repositories are available; see http://theoryx5.uwinnipeg.ca/ppms/ for some suggestions.
Alternative ppm repositories are available; see http://cpan.uwinnipeg.ca/PPMPackages/10xx/ for some suggestions.
ActiveState Perl has its own way of doing things; the rest of the world uses a module
installation tool called cpan.
Please read A Guide to Installing Modules if you are not familiar with it.
Install Moose by typing install Moose at the cpan> prompt.
This will install Moose and a number of dependencies directly from CPAN.
If you're using Camelbox, you're in luck: Moose is pre-packaged with the perl installation. However, you may still wish to install some Moose extensions, which are not-prepackaged with Camelbox.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting Started with Moose
by Your Mother (Archbishop) on Aug 06, 2008 at 23:20 UTC | |
|
Re: Getting Started with Moose
by stvn (Monsignor) on Aug 08, 2008 at 23:10 UTC | |
by jrockway (Acolyte) on Aug 09, 2008 at 02:17 UTC | |
|
Re: Getting Started with Moose
by tod222 (Pilgrim) on Aug 07, 2008 at 20:11 UTC | |
|
Re: Getting Started with Moose
by dHarry (Abbot) on Aug 08, 2008 at 14:41 UTC | |
|
Re: Getting Started with Moose
by Erez (Priest) on Aug 11, 2008 at 08:19 UTC | |
by randyk (Parson) on Aug 17, 2008 at 05:42 UTC | |
by Erez (Priest) on Aug 17, 2008 at 13:21 UTC | |
by jdporter (Paladin) on Aug 11, 2008 at 13:45 UTC |