19.12. Exercises

  1. Write a form that provides two input fields that are added together when the user submits it.

  2. Write a CGI script that detects the browser type making the request and says something in response. (Hint: look at the HTTP_USER_AGENT environment variable.)

Get Learning Perl, Second Edition 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.