Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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


Comment on Re^3: Perl OO with Class::Struct
Select or Download Code

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 exploiting the Monastery: (10)
As of 2014-08-20 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (116 votes), past polls