Releases: perhunter/slurp
Releases · perhunter/slurp
v9999.32
v9999.31
v9999.30
v9999.29
v9999.28
v9999.27
- Update the documentation on the atomic write. We no longer use the pid and I neglected to update the documentation as such. (RT #129029)
- Localize
$^W
to stopFile::Temp
from warning the user when the-w
flag is on while we're grabbing a temporary file name. (RT #129029)
v9999.26
- Reduce the size of handle.t to prevent failures on systems with limits set
- Skip all tests in the suite that relied on overriding syswrite to test
failure mechanisms as CORE::print cannot be overridden. - Refactor write_file to use print rather than syswrite.
- When performing an atomic write, make sure we find a good temporary file
so that we don't accidentally overwrite a file that may already exist in
the working directory. - Stop re-working the line endings on write_file when on Windows as the use
of print now allows layers to provide that functionality.
- When performing an atomic write, make sure we find a good temporary file
- Add File::Basename, File::Spec, File::Temp, and IO::Handle to the runtime
prereqs. These were already testing prereqs and are core. - Perl 5.30 compliance is complete at this point.
v9999.25
- The previous release contained nothing but a documentation update. That updated documentation errantly mentioned pseudo-files. Pseudo-files are perfectly fine to use with File::Slurp.
- Add regression test for GLOB refs being slurped in. Thank you, James Keenan! #17 (comment)
- 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 (#17)
- Fix a typo in the docs.
v9999.24
- Document the clear downfalls of using file handles of any kind rather than just the file's path string.
WARNING - PENDING DOOM
Although you technically can, do NOT use this module to work on file handles,
pipes, sockets, standard IO, pseudo-files, or the DATA
handle. These are
features implemented long ago that just really shouldn't be abused here.
Be warned: this activity will lead to inaccurate encoding/decoding of data.
All further mentions of actions on the above have been removed from this
documentation and that feature set will likely be deprecated in the future.
In other words, if you don't have a filename to pass, consider using the
standard do { local $/; <$fh> }
, or
Data::Section/Data::Section::Simple for working with __DATA__
.
v9999.23
- Fix an error on the test rewrites with a bad value for binmode
- Create a 00-report-prereqs.dd to ease testing on 5.6
- Bump requirement for File::Spec to 3.01 as Cwd was shipped separately
before and the one that came with 5.6 had Taint issues. - Cleaned up the Change log to make all dates uniform