in reply to object-oriented XML generation
2¢ worth: use XML::LibXML instead. You can validate against a DTD which describes the required elements/attributes/structure and it's already object oriented.
You can use Moose to wrap up a LibXML object too letting it handle the XML stuff only and doing your dispatch data handling with your own object stuff. Moose isn't trivial to jump into but it's very powerful and many projects that seem straightforward up front end up being much more complex and if you bake in a simplistic approach and it ends up growing complex you'll regret it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: object-oriented XML generation
by metaperl (Curate) on Apr 15, 2009 at 22:15 UTC | |
by Your Mother (Archbishop) on Apr 15, 2009 at 22:47 UTC |