perl-File-Slurp - Efficient Reading/Writing of Complete Files
|License:||GPL+ or Artistic|
|Vendor:||city-fan.org repo http://www.city-fan.org/ftp/contrib/|
This module provides subs that allow you to read or write entire files with one simple call. They are designed to be simple to use, have flexible ways to pass in or get the file contents and to be very efficient. There is also a sub to read in all the files in a directory other than . and .. These slurp/spew subs work for files, pipes and sockets, and stdio, pseudo-files, and DATA.
|perl-File-Slurp-9999.25-1.fc20.noarch [33 KiB]||
by Paul Howarth (2018-11-19):
- Update to 9999.25 - The previous release contained nothing but a documentation update; that updated documentation erroneously mentioned pseudo-files, which are perfectly fine to use with File::Slurp - Add regression test for GLOB refs being slurped in (GH#17) - 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 (GH#17) - Fix a typo in the documentation - Get rid of spurious executable permissions on documentation files