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

Re: Moose and class methods

by stvn (Monsignor)
on May 01, 2011 at 02:02 UTC ( #902282=note: print w/ replies, xml ) Need Help??


in reply to Moose and class methods

What chromatic said.

But also, don't use MooseX::Declare unless you are willing to take on the extra burden of its (poor) error handling and extra startup/runtime overhead (much more so then vanilla Moose). MooseX::Declare is (mostly) stable, but really should only be used by people who find more value in having the syntactic sugar over performance and sane error reporting (read: I don't use it and don't allow it to be used for $work code).

-stvn


Comment on Re: Moose and class methods
Re^2: Moose and class methods
by John M. Dlugosz (Monsignor) on May 01, 2011 at 10:37 UTC
    No problem. I'm not using it for my main code, but wanted to try it. I thought it was good for cramming several classes into one file because of the declarative region idea.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-07-05 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls