#!/usr/bin/perl # example_5-1.cgi use strict; print qq(Content-type: text/html\n"); print qq(Set-Cookies: username=Fred Flinstone; ); print qq(expires=Mon, 01-May-2003 00:00:00 GMT; ); print qq(path=/); print qq(\n\n); print qq(A cookie has been set in your browser...
); print qq(); print qq(Click to view the cookie);