Okay, I've looked over the changes you suggested to the data structure. The only thing I wasn't quite clear on was what the -> arrow operator at the beginning does. I haven't seen it used in that particular way in Perl before. Admittedly I'm still less than 200 pages into the Camel book.
Unfortunately though it is more intuitive, XML::Simple isn't quite enough to do what I need to do as it would be more complicated to reassemble the data in the <method> structure I provided in another part of this thread than it would be to just stick with XML::Parser. With XML::Parser I can use an if or a case to fire off different code for an <object> or <input> element so that I can apply formatting (that's all the object and input tags are for) without have to reassemble the strings.
Thanks!
In reply to Re: Predefining complex data structures?
by Ionizor
in thread Predefining complex data structures?
by Ionizor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |