Skip to content

Instantly share code, notes, and snippets.

@jberger
Created January 5, 2017 17:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jberger/fa2953a87c587eab2f48ce93251c3776 to your computer and use it in GitHub Desktop.
use Mojolicious::Lite;
get '/' => sub {
my $c = shift;
$c->stash(private => 'SECRET');
$c->render(inline => '%== dumper stash');
delete $c->stash->{private};
say $c->dumper($c->stash);
};
app->start;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment