in reply to Parsing XML into a Hash
Could you bundle up a proper XML parser as part of your application? You wouldn't need to install it as a regular module, just have it sit alongside the rest of your program.
You do not want to do this with regexen. With Perl's extended regex system, it is possible to parse HTML/XML, but it's very ugly and probably quite a bit slower than the XS-based parser modules.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Parsing XML into a Hash
by mcogan1966 (Monk) on Nov 03, 2003 at 18:06 UTC | |
by diotalevi (Canon) on Nov 03, 2003 at 18:18 UTC |