laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hmm, it looks weird that a boolean switch should accept 1 but not 0. (???)
So I took a look into the documentation. ... Turns out that SuppressEmpty is not a real flag, but that "" and undef are used to define how empty elements are represented or ignored in a case of a true value. And the docs explicitly talk about "suppressing the generation of warnings" in XMLout(). I find the naming and concept too error prone. Something like RepresentEmpty => "off" | "" | undef might have been a better choice. And I'm understanding even better now, why this module is discouraged, even in its own POD.
Cheers Rolf
In reply to Re^2: "no warnings 'uninitialized'" failing
by LanX
|
|