Bot-Backbone
view release on metacpan or search on metacpan
lib/Bot/Backbone/DispatchSugar.pm view on Meta::CPAN
next_predicate => $predicate,
)
);
}
sub parameter($@) {
my ($name, %config) = @_;
push @$WITH_ARGS, [ $name, \%config ];
}
sub as(&) {
my $code = shift;
return $code;
}
sub _respond {
my ($meta, $code, $dispatcher_type) = @_;
my $dispatcher = $meta->building_dispatcher;
$dispatcher_type //= $meta;
$dispatcher->add_predicate_or_return(
( run in 2.481 seconds using v1.01-cache-2.11-cpan-98e64b0badf )