in reply to Exporting constants from a Moo role
Update: For example:-
package MyRole; use Moo::Role; use strictures 2; has 'INDEX_FOO'=> ( is => 'ro', isa => 'Int', default => 42 );
One world, one people
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Exporting constants from a Moo role
by tobyink (Canon) on Aug 02, 2018 at 16:00 UTC | |
by 1nickt (Canon) on Aug 02, 2018 at 21:40 UTC | |
by tobyink (Canon) on Aug 03, 2018 at 11:49 UTC | |
Re^2: Exporting constants from a Moo role
by 1nickt (Canon) on Aug 02, 2018 at 21:26 UTC |