Navigation Menu

Skip to content

Commit

Permalink
better b64_encode examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 23, 2012
1 parent 57fb930 commit 6068484
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.88 2012-04-24
- Improved documentation.

2.87 2012-04-23
- Improved html_escape performance and added pattern support.
- Improved documentation.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/ByteStream.pm
Expand Up @@ -132,7 +132,7 @@ Alias for L<Mojo::Util/"b64_decode">.
=head2 C<b64_encode>
$stream = $stream->b64_encode;
$stream = $stream->b64_encode('');
$stream = $stream->b64_encode("\n");
Alias for L<Mojo::Util/"b64_encode">.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Util.pm
Expand Up @@ -2768,7 +2768,7 @@ Base64 decode string.
=head2 C<b64_encode>
my $b64 = b64_encode $string;
my $b64 = b64_encode $string, '';
my $b64 = b64_encode $string, "\n";
Base64 encode string, the line ending defaults to a newline.
Expand Down

0 comments on commit 6068484

Please sign in to comment.