Skip to content

Commit

Permalink
a few more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 23, 2012
1 parent 82b9f76 commit 64a6b89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions lib/Mojo/ByteStream.pm
Expand Up @@ -186,6 +186,8 @@ Alias for L<Mojo::Util/"hmac_md5_sum">.
Alias for L<Mojo::Util/"hmac_sha1_sum">.
b('foo bar baz')->hmac_sha1_sum('secr3t')->quote->say;
=head2 C<html_escape>
$stream = $stream->html_escape;
Expand All @@ -201,6 +203,8 @@ Alias for L<Mojo::Util/"html_escape">.
Alias for L<Mojo::Util/"html_unescape">.
b('&lt;html&gt;')->html_unescape->url_escape->say;
=head2 C<md5_bytes>
$stream = $stream->md5_bytes;
Expand Down Expand Up @@ -317,6 +321,8 @@ Alias for L<Mojo::Util/"url_escape">.
Alias for L<Mojo::Util/"url_unescape">.
b('%3Chtml%3E')->url_unescape->html_escape->say;
=head2 C<xml_escape>
$stream = $stream->xml_escape;
Expand Down
4 changes: 1 addition & 3 deletions lib/Mojolicious/Plugin/EPLRenderer.pm
Expand Up @@ -60,9 +60,7 @@ sub register {
}

# No template
else {
$c->app->log->debug(qq/Template "$t" not found./) and return;
}
else { $c->app->log->debug(qq/Template "$t" not found./) and return }
}

# Cache
Expand Down

0 comments on commit 64a6b89

Please sign in to comment.