Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2d8dfd1128
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (12 sloc) 0.498 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
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 ##{ Data::Dumper->new([ $plugin->module_build_args ], [ 'module_build_args' ])->Sortkeys(1)->Indent(1)->Useqq(1)->Dump; ##};
$module_build_args->{requires}{$implementation} = 0;

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

$builder->create_build_script();
Something went wrong with that request. Please try again.