At the beginning of the script there's a descriptive header that makes scripts self-identifying. In addition, the header allows scripts to be embedded in other kinds of environments, such as email or newsgroups, or even on a Web page. Example 1 . In addition, you can extend this header with your own special fields to suit your requirements, such as a project identifier, department number, site location, and so on. This is required to distinguish filenames from normal words.
Data can include code, and code can include data.
Notice that HTML tags are written within blocks directly as tags. Something new that you may have noticed is the braced multiline string in the header. This format is used for strings that span more than one line. All of the text, including line terminators, become part of the string. The emit function is defined to append output to a string that holds the HTML result.