Skip to content

Commit

Permalink
another get command example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 6, 2015
1 parent 766a1a8 commit c39a167
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/Mojolicious/Command/get.pm
Expand Up @@ -128,6 +128,7 @@ Mojolicious::Command::get - Get command
Usage: APPLICATION get [OPTIONS] URL [SELECTOR|JSON-POINTER] [COMMANDS]
./myapp.pl get /
./myapp.pl get -H 'Accept: text/html' /hello.html 'head > title' text
./myapp.pl get //sri:secr3t@/secrets.json /1/content
mojo get mojolicio.us
mojo get -v -r google.com
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -696,7 +696,7 @@ escaping.
More text.
% end

Similar to stash values you can use a prefix like C<myapp.*> to keep helpers
Similar to stash values, you can use a prefix like C<myapp.*> to keep helpers
from getting exposed in templates as functions, and to organize them into
namespaces as your application grows. Every prefix automatically becomes a
helper that returns a proxy object containing the current controller object
Expand Down

0 comments on commit c39a167

Please sign in to comment.