Group
Extension

Matches 1

Mojolicious-Plugin-ReplyTable ( J/JB/JBERGER/Mojolicious-Plugin-ReplyTable-0.13.tar.gz, JBERGER, 2024; MetaCPAN )
Mojolicious-Plugin-ReplyTable/lib/Mojolicious/Plugin/ReplyTable.pm ( view source; MetaCPAN )
] ? undef : shift;
  my $data = shift || die 'table data is required';
  my %respond = (
    json => { json => $data },
    html => { template => 'reply_table', 'reply_table.table' => $data },
    csv

  use Mojolicious::Lite;
  plugin 'ReplyTable';

  my $format = [format => [qw(
    txt csv html json
    xls xlsx
  )]];
  any '/table' => $format => sub {
    my $c = shift;
    my $data = [
      
is available to the template via the stash key C<reply_table.table>.

=head3 json

Implemented via the standard L<Mojo::JSON> handling.

=head3 txt

A textual representation of the table.
This format 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.