Summary

JavaScript plays a secondary role between forms and CGI pages, but it can be an excellent preprocessor for use with CGI scripts. Besides being used for verification, JavaScript can be used for preformatting data to be sent to a CGI script for placement into data files. The preformatting can make it easier to create a script that will store and retrieve the data for clearly formatted display.

Perl is a very rich language, and this chapter has just scratched the surface of working with CGI and Perl. Several good books on Perl and CGI are available, and the third edition of Programming Perl (O’Reilly, 2000) is a thorough resource for learning much more about Perl and its relationship to CGI and HTML. The wide range of regular expressions ...

Get JavaScript Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.