Filewatcher File Search File Search
Content Search
» » » » » »


Efficient Reading/Writing of Complete Files

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.

Package version:9999.13

/usr/share/doc/perl-File-Slurp-9999.13/README 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 ( that
compares many ways of slurping/spewing files.



File::Slurp(3)   User Contributed Perl Documentation  File::Slurp(3)

       File::Slurp - Efficient Reading/Writing of Complete Files

         use File::Slurp;

         my $text = read_file( 'filename' ) ;
         my @lines = read_file( 'filename' ) ;

         write_file( 'filename', @lines ) ;

         use File::Slurp qw( slurp ) ;

         my $text = slurp( 'filename' ) ;



Revision history for Perl extension File::FastSlurp.

9999.01  Mon Sep  1 00:20:56 2003
	- original version; created by h2xs 1.21 with options
		-AX -n File::FastSlurp

9999.02  Wed Dec 17 03:40:49 EST 2003
	- skip DATA test in handle.t on OSX (bug in perl with sysread on DATA)
	- changed checking if file handle from fileno to ref
		from Randal Schwartz <>
	- added support for

Browse inside perl-File-Slurp-9999.13-7.el6.noarch.rpm

1.03 KB2014-11-28HEADER  view  180 mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download perl-File-Slurp-9999.13-7.el6.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017