home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

Learning Perl on Win32 Systems

Learning Perl on Win32 SystemsSearch this book
Previous: 18.8 Further Reading Chapter 18
CGI Programming
Next: 19. OLE Automation

18.9 Exercises

See Appendix A, Exercise Answers for answers.

  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 then prints something appropriate (hint: look at the HTTP_USER_AGENT environment variable).