Mojo-IRC
view release on metacpan or search on metacpan
$irc->write(join => '#mojo');
});
Mojo::IOLoop->start;
DESCRIPTION
Mojo::IRC is a non-blocking IRC client using Mojo::IOLoop from the
wonderful Mojolicious framework.
It features IPv6 and TLS, with additional optional modules:
IO::Socket::IP and IO::Socket::SSL.
By default this module will only emit standard IRC events, but by
settings "parser" to a custom object it will also emit CTCP events.
Example:
my $irc = Mojo::IRC->new;
$irc->parser(Parse::IRC->new(ctcp => 1);
$irc->on(ctcp_action => sub {
# ...
});
});
Mojo::IOLoop->start;
# DESCRIPTION
[Mojo::IRC](https://metacpan.org/pod/Mojo%3A%3AIRC) is a non-blocking IRC client using [Mojo::IOLoop](https://metacpan.org/pod/Mojo%3A%3AIOLoop) from the
wonderful [Mojolicious](https://metacpan.org/pod/Mojolicious) framework.
It features IPv6 and TLS, with additional optional modules:
[IO::Socket::IP](https://metacpan.org/pod/IO%3A%3ASocket%3A%3AIP) and [IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL).
By default this module will only emit standard IRC events, but by
settings ["parser"](#parser) to a custom object it will also emit CTCP events.
Example:
my $irc = Mojo::IRC->new;
$irc->parser(Parse::IRC->new(ctcp => 1);
$irc->on(ctcp_action => sub {
# ...
});
lib/Mojo/IRC.pm view on Meta::CPAN
});
Mojo::IOLoop->start;
=head1 DESCRIPTION
L<Mojo::IRC> is a non-blocking IRC client using L<Mojo::IOLoop> from the
wonderful L<Mojolicious> framework.
It features IPv6 and TLS, with additional optional modules:
L<IO::Socket::IP> and L<IO::Socket::SSL>.
By default this module will only emit standard IRC events, but by
settings L</parser> to a custom object it will also emit CTCP events.
Example:
my $irc = Mojo::IRC->new;
$irc->parser(Parse::IRC->new(ctcp => 1);
$irc->on(ctcp_action => sub {
# ...
});
( run in 0.499 second using v1.01-cache-2.11-cpan-4d50c553e7e )