Security Advisories (1)
CPANSA-File-Slurp-2013-01 (2013-02-04)

Use of sysread treats any :encoding(...) as effectively :utf8.

Changes for version 9999.12 - 2006-02-02

  • Fixed bug on windows with classic slurping and File::Slurp not agreeing on newline conversion.
  • Added t/newline.t test to check for that fix.
  • When passing text data by scalar reference to write_file under windows, the buffer is copied so the newline conversion won't modify the caller's data.
  • Thanks to Johan Lodin <lodin@cpan.org> for a test script which I modified into t/newline.t

Documentation

Modules

Efficient Reading/Writing of Complete Files