NAME

Eliza::Application - A module containing the Eliza logic

DESCRIPTION

Eliza::Application is part of the simple Eliza web application. The module contains all the logic and presentation for Eliza.

Note that the application only has one entry point: the default() subroutines.

The default() entry point is given itself, the session, an abstract request, and per-application configuration. It then contains application logic - note that we store a Chatbot::Eliza object inside $self and that this is magically persistent between calls.

This code is small and clean as the output is generated by Eliza::Generator later on in the slot process. Any messages are passed in $self.

AUTHOR

Leon Brocard <leon@fotango.com>

COPYRIGHT

Copyright (C) 2001, Fotango Ltd.

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.