Skip to content

Commit

Permalink
Fix a typo in the docs, update the change log to prep for the release…
Browse files Browse the repository at this point in the history
… of 9999.25
  • Loading branch information
genio committed Nov 16, 2018
1 parent 461c326 commit 0ccfa3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Revision history File::Slurp
are perfectly fine to use with File::Slurp.
- Add regression test for GLOB refs being slurped in. Thank you, James Keenan!
https://github.com/perhunter/slurp/pull/17#issuecomment-437174592
- Refactor read_file to use open and read rather than sysopen and sysread.
- Add a bugwards compatible feature to keep track of the cursor when
dealing with the DATA handle (https://github.com/perhunter/slurp/pull/17)
- Fix a typo in the docs.

9999.24 2018-10-29
- Document the clear downfalls of using file handles of any kind rather
Expand Down
2 changes: 1 addition & 1 deletion lib/File/Slurp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ L<File::Slurp/"write_file"> function.
use File::Slurp qw(prepend_file);
prepend_file('/path/file', $header);
prepend_file('/path/file', \@lines);
prepend_file('/path/file', { binmode => 'raw:'}, $bin_data);
prepend_file('/path/file', { binmode => ':raw'}, $bin_data);
# equivalent to:
use File::Slurp qw(read_file write_file);
Expand Down

0 comments on commit 0ccfa3a

Please sign in to comment.