Home: Perl Programming Help: Intermediate:
Split Results


Aug 9, 2000, 2:58 AM

Views: 1348
Split Results


OK, I've read the article about splitting results into blocks of 10 or whatever you choose. I've put in all the required code, but I'm stuck on one line. This is the line I need to modify:

foreach $found (keys %tobesorted) {

I need to modify this line to only do the foreach loop for values of %tobesorted inbetween $firstresult and $lastresult

Surely I just need to tweak the above line but I'm not sure how.

Thanks for your help!