Osmosis.... MMmmmmmm... :-)
Yeah, I actually picked up XML not too long ago myself.
With the method you mentioned you are looking to use, XML::Simple
might be your best bet.. you just point it to a XML
file, and it will slurp the thing in and make it a
hash of hashes (...of hashes of hashes, etc).
However, just think how big this thing might get.. slurping the whole
address book into a hash is loads of fun, but you might regret it later ;-)
But you have to start somewhere, and XML::Simple is.. well.. simple :-) Have fun,
-Eric
| [reply] |
There's an XML tutorial I found useful at w3schools, it's not Perl-related but a good intro to the world of XML.
Update: After a comment by Beatnik I realised I should have included a link directly to the XML tutorial: here it is
--
Kevin O'Rourke
| [reply] |
In addition to the excellent XML tutorial Kevin mentioned,
there is actually an XML::Parser tutorial located
on PerlMonks that may help you get started if you are interested
in working with XML::Parser, and not one of the higher level
modules mentioned previously.
Along with the useful tutorial provided at that node, it also contains the
usual array of intelligent comments and code one often finds on this site.
-Eric
| [reply] |