Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 studying the Monastery: (8)
As of 2014-10-25 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls