single call read & write file routines
This module consists of some quickie routines that read from,
append to or overwrite a file with a single subroutine call. Their main
intention is to save a couple of lines of code over and over again,
but they do not do anything fancy.
This module provides subroutines to read or write entire files with a
simple call. It also has a subroutine for reading the list of filenames
in a directory.
In the extras/ directory you can read an article (slurp_article.pod)
about file slurping and also run a benchmark (slurp_bench.pl) that
compares many ways of slurping/spewing files. This benchmark
This package uses dpatch to manage all modifications to the upstream
source. Changes are stored in the source package as diffs in
debian/patches and applied during the build.
To get the fully patched source after unpacking the source package, cd
to the root level of the source package and run:
Removing a patch is as simple as removing its entry from the
File::Slurp(3pm) User Contributed Perl DocumentationFile::Slurp(3pm)
File::Slurp - Simple and Efficient Reading/Writing/Modifying
of Complete Files
# read in a whole file into a scalar
my $text = read_file( 'filename' ) ;
# read in a whole file into an array of lines
my @lines = read_file( 'filename' ) ;
libfile-slurp-perl (9999.19-1) unstable; urgency=low
* New upstream release,
new watchfile a
Revision history File::Slurp
9999.19 Tue Jun 7 04:06:06 EDT 2011
- Fixed use line in t/edit_fil
This package was debianized by Alexander Zangerl <email@example.com>.
It was downloaded from http://www.
Browse inside libfile-slurp-perl_9999.19-1_all.deb
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com