Bot::Backbone::Meta::Class::Bot - Metaclass attached to backbone bots
version 0.141180
my $bot = My::Bot->new; # Introspect send policies for my $name ($bot->meta->list_send_policies) { my $policy = $bot->meta->send_policies->{$name}; say Dumper($policy); } # Introspect services for my $name ($bot->meta->list_services) { my $service = $bot->meta->services->{$name}; say Dumper($service); } # Introspect a dispatcher say Dumper($bot->meta->dispatcher->{default});
This provides the metaclass features needed for each bot and allow some introspection of the bot's structure.
Moose::Meta::Class
This is a has of send policy configurations.
This is a hash of service configurations.
This is a hash of dispatchers.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2014 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bot::Backbone, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::Backbone
CPAN shell
perl -MCPAN -e shell install Bot::Backbone
For more information on module installation, please visit the detailed CPAN module installation guide.