So it appears that in order to pass something in weaver.ini
the plugin itself requires a Moose attribute. So if I have something like this in weaver.ini
[Acknowledgements]
contributors = 'test foo' 'foo bar'
I need a corresponding attribute in my plugin.
has contributors => (
is => 'rw',
isa => 'ArrayRef[Str]',
traits => [ 'Array' ],
default => sub { [ ] },
handles => {
contributors_count => 'count',
},
);
However, I'm getting the error
Attribute (contributors) does not pass the type constraint because: Validation failed for 'ArrayRef[Str]' with value 'test foo' 'foo bar' at /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/x86_64-linux-thread-multi/Moose/Meta/Attribute.pm line 1248
I'm not sure where I'm going wrong. I've tried changing the syntax up in weaver.ini
but that doesn't seem to be it.