Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jdavidb (1361)

  (email not shown publicly)

J. David Blackstone has a Bachelor of Science in Computer Science and Engineering and nine years of experience at a wireless telecommunications company, where he learned Perl and never looked back. J. David has an advantage in that he works really hard, he has a passion for writing good software, and he knows many of the world's best Perl programmers.

Journal of jdavidb (1361)

Wednesday June 09, 2004
08:48 AM

XML at last

[ #19160 ]

Today I am finally going to need to use XML to do my job. This is a historic first. I've looked at XML off and on for I don't know how many years now, and never once actually used it for work. (Though I did have an aborted attempt to use XML as config files a few years back.)

I'm familiar with most of the basic issues in XML use, but I couldn't quite remember all the details about which module did what (in what way). So I googled for Perl XML and found this handy FAQ. Thank you, to whoever provided this; it was just what I needed!

Haven't read the whole thing, yet, but so far it hasn't mentioned XML::TreeBuilder, which was the module that worked most like the way I think, way back when I first started looking at XML. I remember also designing a simpler module that worked about the same way, as an exercise in writing automated tests.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I don't get it. Last time I checked, expat was included in the XML::Parser distribution. Now I have to go fetch it myself? Why the regression? (I swear I remember being delighted when someone finally decided to include it; am I thinking of another module?)

    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
  • A common problem people encountered with Expat was that Apache included it by default. So if you tried to load XML::Parser under mod_perl Apache would segfault with a symbol clash. So the right solution is for the system to include a shared libexpat used by everyone that wants it.

    Most Linux distributions provide Expat as a package and ActivePerl provides Expat in the distribution (PPM needs it). When I was using Solaris an HPUX, I found that binary packages were not hard to come by.

    PS: re the thanks