IO::SendFile - Perl extension that implements the sendfile() interface.
use IO::SendFile; IO::SendFile::sendfile( fileno(OUT), fileno(IN), $offset, $count ); # Send file everything from filehandle IN from offset # $offset and send $count bytes. use IO::SendFile qw( sendfile ); # import the senfile function sendfile( fileno(OUT), fileno(IN), $offset, $count );
IO::SendFile implements the sendfile() function call. This version only works on linux.
IO::SendFile is released under the same conditions as perl itself.
Arnar M. Hrafnkelsson, addi@umich.edu
perl(1). sendfile(2).
To install IO::SendFile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::SendFile
CPAN shell
perl -MCPAN -e shell install IO::SendFile
For more information on module installation, please visit the detailed CPAN module installation guide.