| |||||||||||||||
|
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Learn more. |
Product details
Would you like to update product info or give feedback on images?
|
The CGI.pm standard allows the site manager to separate data from its HTML markup for use in CGI forms. For example, all the elements in a short drop-down menu of vegetables can be placed in one array, changing this:
to this:
li(["peas","broccoli","cabbage"])
to be used later throughout a Perl script.
Lincoln Stein's Guide to CGI.pm is geared toward a reader who is familiar enough with Perl to have used modules and knowledgeable about HTML and Web-site design. Stein uses CGI.pm for tables, drop-down menus, guest books, single-page or multipart forms, image maps, and cookies. The author of both the book and Perl library function, Stein provides ample discussion of all of these areas, along with strong code examples. The book ends with a verbose reference guide detailing all of CGI.pm's functions and features, grouped both alphabetically and by topic.
The use of CGI.pm requires a mind shift for Web-site managers, but it's one worth making. Instead of tags for "input" and "select", CGI.pm uses statements such as "checkbox ()" and "textfield ()", allowing documents to be read easily and updated quickly. --Jennifer Buckendorff
The ideal companion to the O'Reilly Perl books for those who want to add life to their web pages.
|