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

Maybe[...] doesn't work with coercion (wontfix), but ...|Undef does (although it was buggy before 1.11).

Replies are listed 'Best First'.
Re^4: MooseX::Declare and undef attributes - MooseX::UndefTolerant not working
by err (Novice) on Sep 26, 2010 at 22:23 UTC
    Ok you faced the same problem. I'll give Undef| a chance. Thanks for help
      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.