App-Tacochan
view release on metacpan or search on metacpan
bin/tacochan view on Meta::CPAN
return $self->create_response(
$code,
[
'Content-Type' => 'text/plain; charset=utf-8',
'Content-Length' => length $message,
],
[$message]
);
}
sub res_404 { $_[0]->render_text(404, 'Not Found') }
sub guess_chat {
my ($self, $stuff) = @_;
if ($stuff =~ /^#/) {
# from chatname
return $skype->chat($stuff);
} elsif ($stuff =~ /^skype:/) {
# from "/get uri"
my %query = URI->new($stuff)->query_form();
my $command = $skype->api->send_command("CHAT FINDUSINGBLOB $query{blob}");
( run in 1.865 second using v1.01-cache-2.11-cpan-39bf76dae61 )