The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Hubot::Response

VERSION

version 0.2.7

SYNOPSIS

## 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
    }
);

DESCRIPTION

Interface between Hubot::Script::* callback and Hubot::Adapter::*

AUTHOR

Hyungsuk Hong <hshong@perl.kr>

COPYRIGHT AND LICENSE

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.