Amethyst - Perl extension for blah blah blah


Amethyst documentation  | view source Contained in the Amethyst distribution.

Index


NAME

Top

Amethyst - Perl extension for blah blah blah

SYNOPSIS

Top

	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

Top

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

Top

Shevek, <cpan@anarres.org>

SEE ALSO

Top

perl, POE.


Amethyst documentation  | view source Contained in the Amethyst distribution.