Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a really good web resource on moving to Moose? [closed]

Tags:

perl

moose

The documentation with the module itself is pretty thin, and just tends to point to MOP.

like image 369
Axeman Avatar asked Sep 17 '08 02:09

Axeman


4 Answers

First you should read through the Manual if you haven't already. Then you can go on to read the Cookbook.

I think the docs are actually pretty good these days, as long as you read the right ones. You really shouldn't bother looking at most of the docs for any class name starting with "Moose::Meta" unless you're interested in Moose's introspection features. I've tried to make this more obvious in the Moose.pm docs, which as of 0.57 tell you to read the Manual and Cookbook first.

If you're coming from a background of doing Perl 5 OO "the old school way", I'd also suggest taking a look at the Moose::Manual::Unsweetened document, which compares Moose to equivalent Perl 5 "by hand" code.

like image 112
Dave Rolsky Avatar answered Nov 13 '22 00:11

Dave Rolsky


http://moose.perl.org is a good central resource for all things Moose

like image 25
draegtun Avatar answered Nov 13 '22 01:11

draegtun


Once you read the docs Dave mentioned, if you have some insight on how it could have been more approachable or gotten you off on the right foot (or simply been easier to find), perhaps you would like to contribute that to the documentation. The developers cannot really read the introductory documentation from a new user's point of view. So file a bug report (with a patch maybe) against the documentation and/or discuss it on the mailing list or irc channel. That will help the next person in your shoes.

like image 7
Eric Wilhelm Avatar answered Nov 13 '22 01:11

Eric Wilhelm


I found this Moose Quick Reference sheet invaluable. I'm always forgetting in which manual section to look up a particular feature.

like image 2
Ether Avatar answered Nov 13 '22 00:11

Ether