Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-11-21 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (297 votes). Check out past polls.

    Notices?