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

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

by zwon (Abbot)
on May 28, 2010 at 09:55 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2022-01-27 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?