Shevek > Amethyst-1.00 > Amethyst

Download:
Amethyst-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.00   Source  

NAME ^

Amethyst - Perl extension for blah blah blah

SYNOPSIS ^

        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;

DESCRIPTION ^

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.

EXPORT

Nothing.

AUTHOR ^

Shevek, <cpan@anarres.org>

SEE ALSO ^

perl, POE.

syntax highlighting: