Firs,t I'll admit this may be a 'me' issue, but I'm finding it really
hard to understand why its the case.
Attempting to -declare types like so:
my @types = qw(AType More Types);
use MooseX::Types -declare => \@types;
subtype Atype, ...
subtype More, ...
...
Results in:
Bareword "Atype" not allowed while "strict subs" in use ...
Bareword "More" not allowed while "strict subs" in use ...
Though declaring via
use MooseX::Types -declare => [qw(AType More)];
Executes the subtype declarations just fine, without bareword
complaints.
I'm trying to eliminate some clutter and reuse the list in another
enum declaration and thats why I want to define a list.
OpenBSD minotaur.mnology.com 4.6 GENERIC.MP#0 amd64
This is perl, v5.10.1 (*) built for amd64-openbsd