in reply to XML Adding Node Problem.
It appears that the reason you're getting <ARRAY(0xeea3ac0)> in there is because you're handing an array of nodes to a function that expects to add a single node to the XML tree. Perhaps it might work if you add them one at a time--maybe like this:
$ob->add_node($rxml, 'vars', $_) for @$fields;
Caveat: I've never used XML::Bare, so I may have misdiagnosed or some such.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
---|
In Section
Seekers of Perl Wisdom