Skip to content

Commit

Permalink
slurp and spurt work with bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 22, 2013
1 parent cb24ea6 commit 7bb3556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Util.pm
Expand Up @@ -566,7 +566,7 @@ Generate SHA1 checksum for bytes.
=head2 slurp
my $content = slurp '/etc/passwd';
my $bytes = slurp '/etc/passwd';
Read all data at once from file.
Expand All @@ -587,7 +587,7 @@ Split HTTP header value.
=head2 spurt
$content = spurt $content, '/etc/passwd';
$bytes = spurt $bytes, '/etc/passwd';
Write all data at once to file.
Expand Down

0 comments on commit 7bb3556

Please sign in to comment.