Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Migrate your perl project to Moose

by jandrew (Hermit)
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.)


Comment on Re: Migrate your perl project to Moose
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-12-29 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls