Hello,
5 weeks ago I posted the
node wherein I described a problem I was having getting XML::SAX::PurePerl to work properly under 5.005_03.
I have realized that this is a problem related to the -T switch.
If you run the code included on that node *without* the switch on 5.005_03, it runs fine. Run *with* the switch it kills the parser with a "invalid start character" message.
The thing thats making me
crazy though, is that under 5.6.0 it runs fine *with* or *without*, so its not a problem with tainted vars! :( I wish I could use 5.6.0! :(
Can someone with a heart of gold please take a look at this under 5.005_03 and try to find out where this might be - a bug in perl or a bug in XML::SAX?
Caveats:
- I must use 5.005_03. I can't upgrade the server.
- I must use -T on this script
Thanks!
Alex
p.s.- I did post a bug to rt.cpan.org as asked in the bottom of my last node, but no one has answered or had time to look at it and I need to finish this script. I'm hoping it's monks to the rescue! ;)
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.