Each link has the same url as the current requested uri except that the page parameter may differ.
How do you generate such links in Perl?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You do not seem to know the basics. Go read an introductory book or two about Web programming.
Construct a URI object.
In CGI, piece it together from the enviroment. (Stackers, is there a better way/convenience method I’ve overlooked?)
In PSGI, use the
urimethod.Higher-level frameworks should provide their own accessors. In Catalyst:
Mutate the query string to include the paging parameter.
The
query_paramDTRT and overwrites the parameter even if it’s already set.