POE::Component::ControlPortPOE::Component::ControlPort is a Perl module with network control port for POE applications. | |
Download |
POE::Component::ControlPort Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Matt Cashner
- Publisher web site:
- http://search.cpan.org/~sungo/POE-Exceptions-0.0502/lib/POE/Exceptions.pm
POE::Component::ControlPort Tags
POE::Component::ControlPort Description
POE::Component::ControlPort is a Perl module with network control port for POE applications. POE::Component::ControlPort is a Perl module with network control port for POE applications.SYNOPSIS use POE; use Getopt::Long; use POE::Component::ControlPort; use POE::Component::ControlPort::Command; my @commands = ( { help_text => 'My command', usage => 'my_command ', topic => 'custom', name => 'my_command', command => sub { my %input = @_; local @ARGV = @{ $input{args} }; GetOptions( ... ); }, } ); POE::Component::ControlPort->create( local_address => '127.0.0.1', local_port => '31337', # optional... hostname => 'pie.pants.org', appname => 'my perl app', commands => @commands, poe_debug => 1, ); # other poe sessions or whatever ... POE::Kernel->run();When building network applications, it is often helpful to have a network accessible control and diagnostic interface. This module provides such an interface for POE applications. By default, it provides a fairly limited set of commands but is easily extended to provide whatever command set you require. In addition, if POE::Component::DebugShell version 1.018 or above is installed, a set of POE debug commands will be loaded. Requirements: · Perl
POE::Component::ControlPort Related Software