in reply to Re^2: XML::Simple and Adding Additional Nested Elements
in thread XML::Simple and Adding Nested Elements
That code will not work because your structure is an array of reference.;/p>
You can do if ($data[0]->{Things}->{Thing}->{Item} == "aValue")
I strongly suggest you see Data Structures in the Q&A section of the monastery.
Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.
|
|---|