Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Substring giving strange results on $1 with utf8

by Anonymous Monk
on Aug 07, 2012 at 03:45 UTC ( #985870=note: print w/replies, xml ) Need Help??


in reply to Re: Substring giving strange results on $1 with utf8
in thread Substring giving strange results on $1 with utf8

I tried it with a different twist, using perl-5.17.2: ... Does that help?

How do you think that helps?

The code no longer demonstrates the perl bug, how can that help?

Typical Khen1950fx nonsense, poke the code with a stick and post the changes

  • Comment on Re^2: Substring giving strange results on $1 with utf8

Replies are listed 'Best First'.
Re^3: Substring giving strange results on $1 with utf8
by Khen1950fx (Canon) on Aug 07, 2012 at 04:05 UTC
    Typical AnonymousBug nonsense:);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985870]
help
Chatterbox?
[marto]: ambrus, thanks I ended up going with '//*[starts- with(@id, "thread_")]...
[ambrus]: Sometimes it's easier to just match elements in ways other than xpath, like directly with perl code.
[marto]: this is a cheap hack, a script that doesn't need to run for long, using WWW::Mechanize:: Firefox to drive some awful interface.
[marto]: if it were anything more serious I'd spend more time looking into it properly :P

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-12-08 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (140 votes). Check out past polls.