Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Perl OO with Class::Struct

by davido (Archbishop)
on Dec 13, 2013 at 16:33 UTC ( #1067041=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl OO with Class::Struct
in thread Perl OO with Class::Struct

You're right; I should have said, "isa => ArrayRef", which is compatible with Moo when used with MooX::Types::MooseLike::Base.

Personally I always just use sub { ... } so that I can take finer control.

I'll update my post to remove the quotes from the isa check.


Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2016-06-30 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.