in reply to Re^2: XML::Simple, XMLOut() question
in thread XML::Simple, XMLOut() question
You need not loop. Following would suffice
$x->{user}->{favorites} = {item => $x->{user}->{favorites}};where $x is your original structure
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: XML::Simple, XMLOut() question
by duesouth (Initiate) on Dec 15, 2010 at 16:17 UTC |