laziness, impatience, and hubris | |
PerlMonks |
Re^3: XML::Simple, XMLOut() questionby samarzone (Pilgrim) |
on Dec 15, 2010 at 15:04 UTC ( [id://877287]=note: print w/replies, xml ) | Need Help?? |
You need not loop. Following would suffice $x->{user}->{favorites} = {item => $x->{user}->{favorites}};where $x is your original structure -- Regards - Samar
In Section
Seekers of Perl Wisdom
|
|