Amethyst - Perl extension for blah blah blah
use POE; use Amethyst; new Amethyst; $poe_kernel->post('amethyst', 'add_brain', 'Amethyst::Brain::Infobot', \%infobot_params); $poe_kernel->post('amethyst', 'add_brain', 'Amethyst::Brain::Eliza', \%eliza_params); $poe_kernel->post('amethyst', 'add_connection', 'Amethyst::Connection::IRC', \%irc_params); $poe_kernel->post('amethyst', 'connect'); $poe_kernel->run;
Amethyst is a bot core capable of handling parsing and routing of messages between connections and brains. Amethyst can handle an arbitrary number of connections of arbitrary types (given an appropriate module in Amethyst::Connection::*), routing these messages fairly arbitrarily through multiple processing cores (brains, live in Amethyst::Brain::*), and responding to these messages on other arbitrary connections.
The included script example.pl gives an example of the usage of the script.
Nothing.
Shevek, <cpan@anarres.org>
perl, POE.
To install Amethyst, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Amethyst
CPAN shell
perl -MCPAN -e shell install Amethyst
For more information on module installation, please visit the detailed CPAN module installation guide.