Eliza::Application - A module containing the Eliza logic
Eliza::Application is part of the simple Eliza web application. The module contains all the logic and presentation for Eliza.
Eliza::Application
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.
$self
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.
Eliza::Generator
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.