There is more than one way to skin the XML cat with Perl. I believe, correct me if i am
wrong, that you are more used to a DOM approach if you used VBScript. While i don't
particularly care for the DOM, there is XML::DOM. XML::Simple is great if you want
to quickly turn an XML document into an anonymous data structure, which i like to consider an
object that isn't an object. ;)
XML::Smart has been getting a lot of good word these days ... it basically removes some of
the headache of knowing what you are parsing ahead of time. Then there is the LibXML
modules, not to metion XML::SAX, XML::XPath, and XML::Twig. Of
course, these all require that you know how to install modules, and as kutsu recommended,
tachyon's tut is very good stuff. Let us know if you have any more questions and good luck!
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|