Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: MooseX::Types::TypeDecorator errorby KSURi (Monk) |
on Jul 17, 2009 at 09:09 UTC ( [id://780971]=note: print w/replies, xml ) | Need Help?? |
Yes, as some anonymous monk said above, that's why I put types declaration into BEGIN block (inlined for brevity). In real code these declarations are in a separate file.
In Section
Seekers of Perl Wisdom
|
|