in reply to Create OO object from XML
You could use XML::Rules and set the rules so that the $parser->parsefile() returns a reference you can bless into your class and be done. And all that even if the XML is rather complex and the object you are building contains references to other objects filled in from the XML.
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
|---|