in reply to Re^2: MooseX-Types warnings
in thread MooseX-Types warnings
You're using "DataFromFile" as type in your attribute declaration. You should specify it without the quotes, since your type library will export those as symbols.
You have a comment there saying "won't compile without the quotes," but that should work if you're using commata instead of the arrow.
Also, you don't need to check that your subclass of ArrayRef is an array reference, the Moose type system will do that.
Ordinary morality is for ordinary people. -- Aleister Crowley
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: MooseX-Types warnings
by j1n3l0 (Friar) on Oct 06, 2010 at 18:16 UTC |
In Section
Seekers of Perl Wisdom