send json Revision 306133343635 (Tue Apr 03 2012 at 20:13) - Diff Link to this snippet: https://friendpaste.com/wT3GQnICgcWVV4XGtiIB2 Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112#!/usr/bin/env perluse strict;use Mojolicious::Lite;get '/' => sub {my $self = shift; $self->respond_to( json => {some_key => 'the_value'} );};app->start;