Hi Geert,
Without seeing the full code and data it is hard to say what is happening. I would recommend trying to find which rows are missing from your while iterations. If they are rows that contain a specific value, they are the first rows or last rows that may give you the clue you need. I would also check that you do not have two loops over $rowcache which use shift, as an earlier shift could be removing the data.
Richard
In reply to Re: Different result for 'foreach' vs 'while shift' arrayref
by rnewsham
in thread Different result for 'foreach' vs 'while shift' arrayref
by gvandeweyer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |