in reply to An obscure side effect?
I poked at it a bit to put the parameters into temporaries, but got the same effect. I also tried using a different lexical variable for the second call, but still got the same effect. When I pull the characters out and do the XOR swap on them, I get the right result. That seems to point the finger at substr(). I wonder if some internal optimization has gone awry.
Time for a bug report.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: An obscure side effect?
by Abigail-II (Bishop) on Aug 03, 2003 at 12:45 UTC | |
|
Re: Re: An obscure side effect?
by BrowserUk (Patriarch) on Aug 03, 2003 at 05:11 UTC |