Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (15 sloc) 0.457 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
use 5.008001;
use strict;
use warnings;
use Module::Build;

my %supported = map { ( $_ => 1 ) } qw/linux solaris freebsd gnukfreebsd darwin MSWin32/;

my $implementation = $supported{$^O} ? 'Sys::Sendfile' : 'File::Map';

my %module_build_args = (
##{ $plugin->get_prereqs ##}
);

$module_build_args{requires}{$implementation} = 0;

my $builder = Module::Build->new(
module_name => 'File::Send',
%module_build_args,
);

$builder->create_build_script();

Something went wrong with that request. Please try again.