File Coverage

blib/lib/Sys/Sendfile.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Sys::Sendfile;
2             $Sys::Sendfile::VERSION = '0.15';
3             # This software is copyright (c) 2008, 2009 by Leon Timmermans .
4             #
5             # This is free software; you can redistribute it and/or modify it under
6             # the same terms as perl itself.
7              
8 1     1   15007 use strict;
  1         1  
  1         37  
9 1     1   4 use warnings;
  1         2  
  1         31  
10              
11 1     1   5 use Exporter 5.57 'import';
  1         19  
  1         28  
12 1     1   4 use XSLoader;
  1         1  
  1         51  
13              
14             ##no critic ProhibitAutomaticExportation
15             our @EXPORT = qw/sendfile/;
16              
17             XSLoader::load('Sys::Sendfile', __PACKAGE__->VERSION);
18              
19             1;
20              
21             # ABSTRACT: Zero-copy data transfer
22              
23             __END__