Welcome to the Monastery | |
PerlMonks |
Re: Different result for 'foreach' vs 'while shift' arrayrefby rnewsham (Curate) |
on Apr 18, 2014 at 09:23 UTC ( [id://1082736]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|