I am trying to write a simple db program that displays flattext file matches. I want 10 results per page and create next/prev 10 links.
The way I am approaching this is to have a $counter to keep track of the position of the matched items, and use the $counter as the arguement for the next/prev links.
Is it possible to pass the $counter into an link's arguement like this "....example.cgi?para=$counter......" and have the perl interpreter set it to para=10 (whatever value of $counter)? does perl automatically substitute the value of $counter into the arguement?
I am new at perl and I don't know all the syntaxes. Perhaps someone can suggest other approaches to create these dynamic links like what you see on yahoo searches.