"be consistent" | |
PerlMonks |
Re: SOAP::Deserializer problemby radiantmatrix (Parson) |
on Jul 27, 2007 at 14:49 UTC ( [id://629119]=note: print w/replies, xml ) | Need Help?? |
The 'use of uninitialized value' in your output are warnings: the "command" tagset in your source XML is empty, so the Deserializer properly sets the values to undef. When you try to print an undef value, and you have warnings enabled, you get that message. Try this pattern for your print statements:
The second line of that basically says "if the value is defined, then pass it to print, otherwise pass back the string '<<undefined>>'". The result is that your output would say something like:
<–radiant.matrix–>
Ramblings and references The Code that can be seen is not the true Code I haven't found a problem yet that can't be solved by a well-placed trebuchet
In Section
Seekers of Perl Wisdom
|
|