Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more examples
  • Loading branch information
kraih committed Apr 23, 2012
1 parent 6068484 commit 97e7d0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/ByteStream.pm
Expand Up @@ -101,7 +101,7 @@ Mojo::ByteStream - ByteStream
# Chain methods
my $stream = Mojo::ByteStream->new('foo bar baz')->quote;
$stream = $stream->unquote->encode('UTF-8')->b64_encode;
$stream = $stream->unquote->encode('UTF-8')->b64_encode('');
say $stream;
# Use the alternative constructor
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Util.pm
Expand Up @@ -2745,11 +2745,12 @@ Mojo::Util - Portable utility functions
=head1 SYNOPSIS
use Mojo::Util qw/url_escape url_unescape/;
use Mojo::Util qw/b64_encode url_escape url_unescape/;
my $string = 'test=23';
my $escaped = url_escape $string;
say url_unescape $escaped;
say b64_encode $escaped, '';
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -33,7 +33,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.87';
our $VERSION = '2.88';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down

0 comments on commit 97e7d0b

Please sign in to comment.