Re: Need Suggestions For Managing Lists Of Attributes

[email protected] (Niall Young) Fri, 11 Apr 2014 10:35:48 +1000 (EST)
Newsgroups perl.moose
Message-ID <[email protected]>
On Fri, 11 Apr 2014, Niall Young wrote:

> From memory, consume the interface/interface-role after all other 
> declarations and role consumption, e.g.
>
> package Moosy;
> use Moose;
> extends 'bar';
> with 'meh';
> require 'blah';
> require 'blah2';
> __PACKAGE__->meta->make_immutable();
> 1;

Sorry that wasn't very clear, this is better:

package Moosy;
use Moose;
extends 'bar';
with 'implementationX';
with 'interfaceX';
__PACKAGE__->meta->make_immutable();
1;

--
Niall Young
[email protected]