|
|
| We don't bite newbies here... much | |
| PerlMonks |
Getting Started with Mooseby jdporter (Canon) |
| on Aug 06, 2008 at 20:57 UTC ( #702738=perlmeditation: print w/ replies, xml ) | Need Help?? |
Getting Started with MooseI 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. Windows: ActiveState Perl 5.8
Alternative ppm repositories are available; see http://theoryx5.uwinnipeg.ca/ppms/ for some suggestions. Windows: ActiveState Perl 5.10
Alternative ppm repositories are available; see http://cpan.uwinnipeg.ca/PPMPackages/10xx/ for some suggestions. Other platforms, including Strawberry Perl on Windows
ActiveState Perl has its own way of doing things; the rest of the world uses a module
installation tool called cpan.
Install Moose by typing install Moose at the cpan> prompt. Windows: Camelbox PerlIf 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. Resources
Back to
Meditations
|
|
||||||||||||||||||||||||||||||||||||||