The stupid question is the question not asked | |
PerlMonks |
Re^13: Need help with paginationby Corion (Patriarch) |
on Jan 01, 2023 at 20:36 UTC ( [id://11149267]=note: print w/replies, xml ) | Need Help?? |
How does that not work? We don't know what you expect and what you think is wrong with the output. I assume that you pasted the rendered HTML output, but you may want to reduce your program to the bare minimum. Is the CGI part necessary for testing your program? Update: Maybe you want to go line by line over this loop and explain what you are doing there and why:
I suggest you use a Perl-style loop instead of a C-style loop and use
Also, why do you use my $i = '0'; instead of my $i = 0;? Why do you decrement $nb_page at the end of the loop? What is the $min_index variable about? What is the $i variable supposed to hold and why do you keep it below 10?
In Section
Seekers of Perl Wisdom
|
|