Apart from the syntax error there is one more possible problem. Are you sure XML::Simple returns the data in a consistent enough way? Without any options? What if some tag that may be repeated occurs just once in a particular file? Or some tag with optional attributes doesn't have them in some cases?
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re: can't modify anonymous hash ({}) in scalar assignment
by Jenda
in thread can't modify anonymous hash ({}) in scalar assignment
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |