Simple and Efficient Reading/Writing of Complete Files

Edit Package perl-File-Slurp

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, stdio,
pseudo-files, and the DATA handle. Read more about why slurping files is a
good thing in the file 'slurp_article.pod' in the extras/ directory.

If you are interested in how fast these calls work, check out the program in the extras/ directory. It compares many different
forms of slurping. You can select the I/O direction, context and file
sizes. Use the --help option to see how to run it.

  • Developed at devel:languages:perl
  • 3 derived packages
  • Download package
  • osc -A checkout openSUSE:Factory/perl-File-Slurp && cd $_
  • Create Badge
Source Files
Filename Size Changed
File-Slurp-9999.32.tar.gz 0000034574 33.8 KB
cpanspec.yml 0000000698 698 Bytes
perl-File-Slurp.changes 0000005887 5.75 KB
perl-File-Slurp.spec 0000001870 1.83 KB
Comments 0
openSUSE Build Service is sponsored by