POEx::IRC::Backend::Role::Connector
A Moo::Role defining some basic common attributes for listening/connecting sockets.
This role is consumed by POEx::IRC::Backend::Connector and POEx::IRC::Backend::Listener objects; it defines some basic attributes shared by listening/connecting sockets.
This role consumes POEx::IRC::Backend::Role::HasWheel and adds the following attributes:
The local address we are bound to.
The local port we are listening on.
Change the current port attribute.
This won't trigger any automatic Wheel changes (at this time), but it is useful when creating a listener on port 0.
The Internet protocol version for this listener (4 or 6).
Boolean value indicating whether connections should be SSLified.
Jon Portnoy <avenj@cobaltirc.org>
To install POEx::IRC::Backend, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POEx::IRC::Backend
CPAN shell
perl -MCPAN -e shell install POEx::IRC::Backend
For more information on module installation, please visit the detailed CPAN module installation guide.