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.
File::Slurp.pm version 0.04
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.
File::Slurp(3pm) User Contributed Perl DocumentationFile::Slurp(3pm)
File::Slurp - Efficient Reading/Writing of Complete Files
my $text = read_file( 'filename' ) ;
my @lines = read_file( 'filename' ) ;
write_file( 'filename', @lines ) ;
use File::Slurp qw( slurp ) ;
my $text = slurp( 'filename' ) ;
libfile-slurp-perl (9999.12-2) unstable; urgency=low
* modified binmode behaviour to work with multibyte-encoded
files. Thanks to Allard Hoeve for the patch. (closes: #429933)
also added a test for reading utf8-encoded data.
-- Alexander Zangerl <firstname.lastname@example.org> Wed, 27 Jun 2007 21:08:04 +1000
libfile-slurp-perl (9999.12-1) unstable; urgency=low
* New upstream release
* lifted s
This package was debianized by Alexander Zangerl <email@example.com>.
It was downloaded from http://www.
Browse inside libfile-slurp-perl_9999.12-2_all.deb
Results 1 - 1 of 1Search over 15 billion files
© 1997-2016 FileWatcher.com