v5.10.0 built for x86_64-linux-thread-multi
I would do that, except this is a fairly elaborate CGI which uses a database. The problem with removing code in this case is: what do I start removing? Random chunks? And if that worked, what would it mean? Eg, moving that sort line "fixes" the issue, but it does not provide me a clue as to why. It also very strongly implies to me that this is not my error and I will be wasting my time looking for a mistake that does not exist.
Anyway, there are a zillion (other) ways the integrity of the code is tested, I was just curious about the bizarre behaviour. As demonstrated, all the data relevant to the sort operation is in order. I simply do not see anything that could be affecting this. If I were working in C, I could see some chance of an unrelated data structure causing an overwrite of something (a code segment, whatever) that would explain this, but AFAIK that is not possible in perl.
The objects contain a lot of text, here's a dump with that edited out:
$VAR1 = bless( { 'body' => 'SNIP', 'href' => '<a class="ntitle" href="SNIP">', 'date' => '29 February 2004 ', 'terms' => '1', 'title' => 'Michael Shrimpton on Dr. Kelly' }, 'PNSearch' ); $VAR1 = bless( { 'body' => 'SNIP', 'href' => '<a class="ntitle" href="SNIP">', 'date' => '9 September 2003 ', 'terms' => '2', 'title' => 'protester hit' }, 'PNSearch' );
That's the first pair from the mismatched arrays (notice: 'terms' = 1 and 2). But I don't think there is anything to see with this.
I'm not expecting anyone to make a big effort here -- if no one is aware of any possibilities, don't worry about it.
In reply to Re^3: sort != sort
by halfcountplus
in thread sort != sort
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |