Hi All-
I am pretty much a beginner at Perl - lots of C, beginner at Perl. I have installed a few modules now, and written a few small programs that work .
I have been picking through the XML::Simple maze a bit. Wrote a couple of programs, began to wonder about other parsers. Even got, compiled and installed Expat and LibXML2. btw- this is a Mac, Perl 5.8.1, OS 10.3.7
Now, however, my install is confused. After trying Very Hard to read and do the right thing, its still a problem. Specifics on request. However, the XML::Simple tests now fail, with
Can't locate auto/XML/Parser/Expat/parse_strin.al'
Current everything..
# Package Version
# perl 5.8.1
# XML::Simple 2.14
# Storable 2.08
# XML::Parser 2.34
# XML::SAX 0.14
# XML::NamespaceSupport 1.09
# XML::Parser::Expat 2.34 (default parser)
I had tried to set the parser in ParserDetails.ini. Nothing worked. I went to an OS 10.4 machine with an untouched Perl, installed ONLY expat and Parser, not SAX at all, and it worked fine! So, I tried using ExtUtils modrm.pl to get rid of SAX entirely. That executed, but the next run of the makefile for XML::Simple 'detected' that SAx was installed! I made a new makefile, MakefileNoSax.PL, which just reversed the tests, preferring Parser first, ran it, but the tests fail. Installed SAX again, then Simple, the tests fail. You get the picture.
So now I am an unhappy state. Any suggestions on unwedging this mess? thanks in advance -Brian
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.