in reply to Re^2: hash from xml::simple
in thread hash from xml::simple
I would have thought that it would have returned something like.
That's exactly what it returns without KeyAttr.
That worked!! Not sure why
You're not surprised that KeyAttr changes
into'apple' => [ { name => 'date', value => '1231210' }, { name => 'time', value => '235959' }, ],
so I don't see why you're surprised that it transforms'apple' => [ date => { value => '1231210' }, time => { value => '235959' }, ],
into'banana' => [ { name => 'date', value => '1231210' }, ],
'banana' => [ date => { value => '1231210' }, ],
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: hash from xml::simple
by Anonymous Monk on Dec 11, 2009 at 13:03 UTC | |
by ikegami (Patriarch) on Dec 11, 2009 at 16:53 UTC |