Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I call perl bug. The following also demonstrates the odd behavior. Interestingly, the substr(lc($str),0) in the second iteration is limited to the length of the (correct) substr(lc($str),0) in the first iteration. e.g. with an argument of 'a:bc', the 'bc' is cut down to 'b' (the length of 'a'). For 'ab:cde' or 'ab:cdefgh', the 'cde' and 'cdefgh' are cut down to 'cd' (the length of 'ab').
For someone familiar w/ perlguts (not me), uncomment the Devel::Peek line. UPDATE: Expected output for input of x:yz is: , but due to bugginess, it's:
Also, the problem presents in v5.8.7 linux, but not in v5.8.0 solaris, if those are helpful data points. In reply to Re: XML::Twig handlers weirdness?
by benizi
|
|