Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
go ahead... be a heretic
 
PerlMonks  

Re: XML::Twig handlers weirdness?

by mirod (Canon)
on Feb 20, 2006 at 10:51 UTC ( [id://531446]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to XML::Twig handlers weirdness?

So:

  • the bug shows up in 5.8.8 on my machine (linux)
  • the code runs properly in 5.8.0,
  • in all cases the path itself is correct (if you print it, as are lc($str) and substr( $str, 1)
  • you need a fairly specific test case (you can remove the 'B' element or the 'b' and you still get the bug, but if you remove both then you get the proper output,
  • if you only print the data for the problematic element... everything is fine.

This looks extremely weird. I can only guess that the usual suspect, unicode, is involved... but how?

Any help on this one would be appreciated.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://531446]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.