http://www.perlmonks.org?node_id=475343


in reply to Re^3: XML::Simple is doing too much for me! Help please.
in thread XML::Simple is doing too much for me! Help please.

That did it, thanks izut. Just to keep the record complete, here is the results:
$VAR1 = { 'campaign' => { 'menuid' => '10118-2', 'action' => '0', 'phonenumbers' => { 'phonenumber' => [ { 'number' => '4167781583', 'prompts' => { 'prompt' => [ { 'tts' => 'Hello, this is a test.', 'promptid' => '2' } ] }, 'callid' => '1234abc' } ] } } };
<campaign action="0" menuid="10118-2"> <phonenumbers> <phonenumber callid="1234abc" number="4167781583"> <prompts> <prompt promptid="2" tts="Hello, this is a test." /> </prompts> </phonenumber> </phonenumbers> </campaign>
Now I can also see hot to contrusct the HASH programatically, which si what I was attempting to do! Thanks again. jdtoronto