in reply to [SOLVED] Moose trait (?) to set "undef" to, say, "empty string?"
Weird. I tried that. Didn’t work. The coercion never got called. (Pardon me, don’t take this wrongly...) Did you actually try the code that you posted here? (I will be delighted if the answer is, “yes.”)
Hmmmm.... Note that I did not (yet...) try specifying coerce=>1. Is that the magick?
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moose trait (?) to set "undef" to, say, "empty string?"
by Your Mother (Archbishop) on Nov 29, 2011 at 14:18 UTC | |
by locked_user sundialsvc4 (Abbot) on Nov 29, 2011 at 15:39 UTC | |
|
Re^2: Moose trait (?) to set "undef" to, say, "empty string?"
by ikegami (Patriarch) on Nov 29, 2011 at 14:34 UTC | |
by locked_user sundialsvc4 (Abbot) on Nov 29, 2011 at 15:32 UTC |