Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Using Libraries

by jeffa (Bishop)
on Mar 18, 2004 at 22:19 UTC ( #337832=note: print w/replies, xml ) Need Help??


in reply to Using Libraries

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!

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://337832]
help
Chatterbox?
[james28909]: but you could put it all in one sub and return the same data type that was inputted. i could write a small example maybe
[Lady_Aleena]: Their uses are also vastly different.
[Lady_Aleena]: The first two make hashes and arrays from a file, the third returns data from a pre-existing hash.
[Lady_Aleena]: Well, HoH and AoH respectively.
[Lady_Aleena]: But if you want to play, play. I don't mind. 8)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2017-05-24 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?