###################################################################### AOLserver::CtrlPort 0.02 ###################################################################### NAME AOLserver::CtrlPort - Execute Commands on AOLserver's Control Port SYNOPSIS use AOLserver::CtrlPort; my $conn = AOLserver::CtrlPort->new( Host => 'myhost', Port => 3456, User => 'username', Password => 'password', ); my $out = $conn->send_cmds(<new(...) Creates a new control port client object. The following options are available to the constructor: Port The port AOLserver is listening to for control port commands. Host The control port "address" as defined in the configuration. Timeout Number of seconds after which the client will time out if the server doesn't send a response. User User name for control port login defaults to the empty string for non-protected control ports. Password Password for control port login defaults to the empty string for non-protected control ports. $conn->send_cmds("$cmd1\ncmd2\n...") Send one or more commands, separated by newlines, AOLserver's control port. The method will return the server's response as a string. Typically, this will look like $out = $conn->send_cmds(<easy_init($DEBUG); in your test script before any AOLserver::CtrlPort commands are called. Please check out the Log::Log4perl documentation for details. AUTHOR Mike Schilli, 2004, m@perlmeister.com