in reply to Re: Perl OO with Class::Struct
in thread Perl OO with Class::Struct
Actually, isa => 'ArrayRef' doesn't work in Moo at all. (Unless you also use MooX::late which is my Moose/Moo compatibility shim.)
In Moo, isa needs to be a coderef, or an object overloading &{}.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl OO with Class::Struct
by davido (Cardinal) on Dec 13, 2013 at 16:33 UTC |