Fail on Perls without unpack Q
[slob.git] / Makefile.PL
CommitLineData
d3779104
MG
1use 5.014000;
2use ExtUtils::MakeMaker;
3
29d65ef5
MG
4my $packed_nr = "\x00\x00\x00\x00\x00\xBC\x61\x4E";
5my $unpacked_nr = eval { unpack 'Q>', $packed_nr };
6$unpacked_nr == 12345678 || die "Failed to unpack quad, this Perl does not support 64-bit integers. Bailing out. Error '$!'\n";
7
d3779104
MG
8WriteMakefile(
9 NAME => 'Slob',
10 VERSION_FROM => 'lib/Slob.pm',
11 ABSTRACT_FROM => 'lib/Slob.pm',
12 AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>',
13 MIN_PERL_VERSION => '5.14.0',
14 LICENSE => 'perl',
15 SIGN => 1,
16 PREREQ_PM => {},
17 META_ADD => {
18 dynamic_config => 0,
19 resources => {
20 repository => 'https://git.ieval.ro/?p=slob.git',
21 },
22 }
23);
This page took 0.011124 seconds and 4 git commands to generate.