Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Migrate your perl project to Moose

by jandrew (Chaplain)
on Oct 17, 2011 at 17:59 UTC ( #931983=note: print w/replies, xml ) Need Help??

in reply to Migrate your perl project to Moose

I started by attempting some of the recipes in the Moose::Cookbook with a few personal variations and then moved to Moose::Manual since I am more of a learn by doing type. Attempting a few of the recipes with my variations first to get a flavor of Moose was the fastest way for me to get into the Moose world.

Moose isn't just a cool object oriented framework, it also encourages (not requires) a certain object oriented style. Getting a handle on the style early on will allow you to make the intuitive leaps needed in learning to reach that point where you are using Moose and can extrapolate expected Moose behavior that you may not have learned yet. The ability to intuit the possible way Moose would solve a problem takes you a long way to find the answer for solving your problems. So then you will be able to identify when you have reach a point in your code where what you are attempting to do in Moose seems unnecessarily complicated. In most cases this means you have reached a point where it's time to go back to the documentation.

Using this method allowed me to avoid trying to digest the whole Moose cookbook or manual at once. (Don't try to eat the whole Moose in one sitting.)

Replies are listed 'Best First'.
Re^2: Migrate your perl project to Moose
by tex (Acolyte) on Oct 18, 2011 at 06:18 UTC
    Using the Moose::Cookbook along the Moose::Manual did help me get started with Moose, too. I did look at some presentations about Moose as well, but the Docs on CPAN are pretty good.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://931983]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2021-05-12 08:51 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (125 votes). Check out past polls.