Skip to content

Commit

Permalink
simplify AUTOLOAD example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 30, 2014
1 parent 7d3d069 commit 8c79010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious.pm
Expand Up @@ -675,10 +675,10 @@ object, so they can't depend on or change controller state, which includes
request, response and stash.
# Call helper
$app->log->debug($app->dumper({foo => 'bar'}));
say $app->dumper({foo => 'bar'});
# Longer version
$app->log->debug($app->build_controller->helpers->dumper({foo => 'bar'}));
say $app->build_controller->helpers->dumper({foo => 'bar'});
=head1 BUNDLED FILES
Expand Down

0 comments on commit 8c79010

Please sign in to comment.