Skip to content

Commit

Permalink
better descriptions for some Mojo::ByteStream methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 7, 2012
1 parent f968b5b commit e0f4707
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

3.39 2012-09-08
- Improved documentation.

3.38 2012-09-07
- Added xor_encode method to Mojo::ByteStream.
- Added xor_encode function to Mojo::Util.
Expand Down
6 changes: 3 additions & 3 deletions lib/Mojo/ByteStream.pm
Expand Up @@ -233,7 +233,7 @@ Quote bytestream with L<Mojo::Util/"quote">.
$stream->say;
$stream->say(*STDERR);
Print bytestream to handle or STDOUT and append a newline.
Print bytestream to handle and append a newline, defaults to C<STDOUT>.
=head2 C<secure_compare>
Expand Down Expand Up @@ -265,15 +265,15 @@ Size of bytestream.
$stream = $stream->slurp;
Read all data into bytestream with L<Mojo::Util/"slurp">.
Read all data at once from file into bytestream with L<Mojo::Util/"slurp">.
b('/home/sri/myapp.pl')->slurp->split("\n")->shuffle->join("\n")->say;
=head2 C<spurt>
$stream = $stream->spurt('/home/sri/myapp.pl');
Write bytestream to file with L<Mojo::Util/"spurt">.
Write all data from bytestream at once to file with L<Mojo::Util/"spurt">.
b('/home/sri/foo.txt')->slurp->squish->spurt('/home/sri/bar.txt');
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -38,7 +38,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Rainbow';
our $VERSION = '3.38';
our $VERSION = '3.39';

sub AUTOLOAD {
my $self = shift;
Expand Down

0 comments on commit e0f4707

Please sign in to comment.