Eliza::Generator - A templated output generator for Eliza
Eliza::Generator is a templated output generator for Eliza. The session is passed to a Template Toolkit template, which generates output, and the code then generates a response.
Eliza::Generator
Note that it explicity checks if the request is meant for the application, rather than an image, by checking for "index.html" and seeing if it can read the template file.
The template used is "templates/index.html" so investigate that to understand the clear seperation between logic and presentation present in this example Eliza application.
Leon Brocard <leon@fotango.com>
Copyright (C) 2001, Fotango Ltd.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
To install OpenFrame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenFrame
CPAN shell
perl -MCPAN -e shell install OpenFrame
For more information on module installation, please visit the detailed CPAN module installation guide.