in reply to Re: "no warnings 'uninitialized'" failing
in thread "no warnings 'uninitialized'" failing
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
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
---|