[prev] [index] [next]

CGI.pm (cont)

CGI.pm has a range of methods/functions for:
  • producing HTML   (several flavours, including browser-specific),
  • building HTML forms   (overall wrapping, plus all form elements)
  • CGI handling   (manipulating parameters, managing state)
HTML and form building methods typically
  • accept a collection of string arguments
  • return a string that contains a fragment of HTML

A dynamic Web page is produced by

  • printing a collection of such HTML fragments