in reply to Re^3: MooseX::Types::TypeDecorator error
in thread MooseX::Types::TypeDecorator error

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.
  • Comment on Re^4: MooseX::Types::TypeDecorator error