The Unix Divide

A beautiperl day

July 30, 2007 · Leave a Comment

I was all psyched to try out this Perl example using XML::DOM, but it didn’t work on either Windows or Linux.

CPAN got it installed on Linux, and ppm got it installed on Windows.  CPAN on Windows, not so great.  I guess it didn’t know to use nmake, so I tried it manually (Well first I had tried the whole process manually).  Then make install couldn’t find a command called ‘cl’.  ppm was effortless, and I already knew the prereqs for XML::DOM (in case that mattered).

I’m tasked with implementing a web survey.  At this point, I was already like okay, okay, I won’t use XML.  We’ll see if I can get a key guy there to install it for me.

“Give me root on your server!”  Grrrrr!  ;-D  Nah, this one guy is tops at doing that stuff, but he’s not technically an admin (full root).  CPAN needed root, probably because Perl is root.

The DOM seems to point out the entire object collection to the very end, like this: <contact><FirstName>joe</FirstName><LastName>blow</LastName></contact><contact><FirstName>sue</FirstName><LastName>smith</LastName></contact><contacts>

So what I need is to use SAX to make it look like a readable file, and later XSL to make a report-like version that is displayable, in human terms, to the browser as a web page.

Categories: Uncategorized

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment