Hubot::Response
version 0.2.7
## generally Hubot::Response used to Hubot::Script::* callback. ## assume this is a callback subroutine. $robot->hear( qr/echo (.+)/i, sub { my $res = shift; $res->reply($res->match->[0]); # aanoaa> echo 123 # hubot> aanoaa: 123 } );
Interface between Hubot::Script::* callback and Hubot::Adapter::*
Hubot::Script::*
Hubot::Adapter::*
Hyungsuk Hong <hshong@perl.kr>
This software is copyright (c) 2012 by Hyungsuk Hong.
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 Hubot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hubot
CPAN shell
perl -MCPAN -e shell install Hubot
For more information on module installation, please visit the detailed CPAN module installation guide.