Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: MooseX::Declare not able to modify new() and BUILDARGS()

by zwon (Abbot)
on May 28, 2010 at 09:55 UTC ( [id://842008]=note: print w/replies, xml ) Need Help??


in reply to MooseX::Declare not able to modify new() and BUILDARGS()

It would be good to see example. but generally you should use BUILD and BUILDARGS instead of modifying new. Also declare BUILDARGS as follows:

method BUILDARGS (ClassName $class: ...) { ... }
so it wouldn't complain about failed validation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-23 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found