in reply to Re^3: MooseX::Declare and undef attributes - MooseX::UndefTolerant not working
in thread MooseX::Declare and undef attributes - MooseX::UndefTolerant not working

Ok you faced the same problem. I'll give Undef| a chance. Thanks for help
  • Comment on Re^4: MooseX::Declare and undef attributes - MooseX::UndefTolerant not working

Replies are listed 'Best First'.
Re^5: MooseX::Declare and undef attributes - MooseX::UndefTolerant not working
by ikegami (Patriarch) on Sep 26, 2010 at 22:39 UTC
    IIRC, you can take the coercion rules for GooglePrimaryEmail and specify them for Maybe[GooglePrimaryEmail], but using a union saves you from defining your coercions twice.