Net::CyanChat is a Perl interface for connecting to Cyan Worlds' chat room.
my $cyan = new Net::CyanChat (
host => 'cho.cyan.com', # default
port => 1812, # main port--1813 is for testing
proto => 1, # use protocol 1.0
refresh => 60, # ping rate (default)
# Set up handlers.
$cyan->setHandler (foo => &bar);
Net::CyanChat is a Perl module for object-oriented connections to Cyan Worlds, Inc.'s chat room.
What's New in This Release:
· The enter/exit chat messages now go by the tag number (like it's supposed to), not by the contained text. - Messages can contain pipes in them and be read okay through the module. - Added a "ping" function. Apparently Cho will disconnect clients who don't do anything in 5 minutes. The "ping" function also helps detect disconnects! - The Disconnected handler has been added to detect disconnects.