http://www.perlmonks.org?node_id=60587

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: (cgi programming)

I am curious as to know how search engines for example Altavista can display results on multiple pages. From what I already know, this code will display results on the set number.
@results = $results; $results_to_Show = 10; for ($x=0; $x < $results_to_show; $++) { print "$results[$x]"; }
This is all that I know for now but, How can I display the next set of 10 results?

Also: How can I display results in this form: ' Result pages: 12345 next>> '

thanks for your support,

Originally posted as a Categorized Question.