Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: MooseX::Declare and undef attributes - MooseX::UndefTolerant not working

by err (Novice)
on Sep 26, 2010 at 22:23 UTC ( [id://862132]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://862132]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-18 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found