in reply to [SOLVED] Moose trait (?) to set "undef" to, say, "empty string?"

To close this thread (for you, Gentle Reader, who have stumbled upon it since ...) a type-coercion did, indeed, solve the problem perfectly.   The “magick,” that I indeed had overlooked, is that the mere mention of a coerce rule is not by itself sufficient to actually cause that coercion rule to be invoked.   (Documented, yes.   “Counter-intuitive, perhaps,” also very-definitely yes.)   I am indeed sincerely grateful and appreciative for the help ... momentarily embarrassing :*) though it turned out to be.

  • Comment on Re: Moose trait (?) to set "undef" to, say, "empty string?"

Replies are listed 'Best First'.
Re^2: Moose trait (?) to set "undef" to, say, "empty string?"
by locked_user sundialsvc4 (Abbot) on Nov 30, 2011 at 03:17 UTC

    Oh, fudge... yeah, “that was me.”   Perlmonks logged me out.