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
|
---|
In Section
Seekers of Perl Wisdom