-
-
28 Jan 2021 22:05:19 UTC
- Distribution: Mojolicious-Matterbridge
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (128 / 0 / 7)
- Kwalitee
Bus factor: 1- 32.42% Coverage
- License: perl_5
- Perl: v5.16.0
- Activity
24 month- Tools
- Download (16.4KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Mojolicious::Matterbridge - a simplistic module to connect to chat servers via matterbridge
SYNOPSIS
use Mojolicious::Matterbridge; my $client = Mojolicious::Matterbridge->new( url => 'http://localhost:4242/api/', ); $client->on('message' => sub( $c, $message ) { print sprintf "<%s> %s\n", $message->username, $message->text; $client->send( "Haha!" ); }); $client->connect(); Mojo::IOLoop->start unless Mojo::IOLoop->is_running;
REPOSITORY
The public repository of this module is https://github.com/Corion/Mojolicious-Matterbridge.
SUPPORT
The public support forum of this module is https://perlmonks.org/.
BUG TRACKER
Please report bugs in this module via the Github bug queue at https://github.com/Corion/Mojolicious-Matterbridge/issues
AUTHOR
Max Maischein
corion@cpan.org
COPYRIGHT (c)
Copyright 2020 by Max Maischein
corion@cpan.org
.LICENSE
This module is released under the same terms as Perl itself.
Module Install Instructions
To install Mojolicious::Matterbridge, copy and paste the appropriate command in to your terminal.
cpanm Mojolicious::Matterbridge
perl -MCPAN -e shell install Mojolicious::Matterbridge
For more information on module installation, please visit the detailed CPAN module installation guide.