PerlHoo, Part II | 6 | WebReference

PerlHoo, Part II | 6

PerlHoo, Part II

Storing User Recommendations

Now we must deal with a few issues related to storing new site recommendations. When a user wants to recommend a new site for a particular category, he/she clicks the link labeled Suggest new link at the bottom of the directory page. This link is created dynamically in the print_footer subroutine (Lines 152-157). This calls the print_add_screen subroutine (Lines 99-122) which prints the form. The form is similar to the one below:

URL:
Title:
Description: