in reply to Using the param function

At the time of my posting, the parent node (in its entirety) consisted of the following:

New to perl s_page(); if(param("option") == 'login') { l_page(); } else { r_page(); } foot(); problem is all 3 functions display forms and i want them to display one after the other not in the same page.


You use the same trick you used two decide between the second and third to decide for all of them. A param decides which "page" to generate. A page controls which page will be visited next by including the param in the links and as a hidden field in forms.