Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed example typos
  • Loading branch information
kraih committed Dec 19, 2013
1 parent 444d302 commit cbcc791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent.pm
Expand Up @@ -711,7 +711,7 @@ Application server relative URLs will be processed with, defaults to a
L<Mojo::UserAgent::Server> object.
# Introspect
say for $ua->server->app->secrets;
say for @{$ua->server->app->secrets};
# Change log level
$ua->server->app->log->level('fatal');
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -1106,7 +1106,7 @@ that they will be picked up automatically by the command line interface?
my ($self, $target) = @_;

# Leak secret passphrases
say for $self->app->secrets if $target eq 'secrets';
say for @{$self->app->secrets} if $target eq 'secrets';
}

1;
Expand Down

0 comments on commit cbcc791

Please sign in to comment.