Build.PL
changeset 100 ecbfe57939c1
parent 92 5bdc20e4d5f0
child 101 bdd9a0816a33
equal deleted inserted replaced
99:318f4eb1569d 100:ecbfe57939c1
     2 
     2 
     3 use strict;
     3 use strict;
     4 use warnings;
     4 use warnings;
     5 use Module::Build;
     5 use Module::Build;
     6 
     6 
     7 my $build = Module::Build->new(
     7 my $builder = Module::Build->subclass(
       
     8     class => "My::Module::Build",
       
     9     code => <<'___CODE',
       
    10     use strict;
       
    11     use warnings;
       
    12     use File::Path;
       
    13     sub ACTION_build {
       
    14 	my $self = shift;
       
    15 	File::Path::make_path("tmp/bind/master", "tmp/bind/zones.d");
       
    16 	$self->SUPER::ACTION_build;
       
    17     }
       
    18 ___CODE
       
    19 );
       
    20 
       
    21 my $build = My::Module::Build->new(
     8     module_name    => "dnstools",
    22     module_name    => "dnstools",
     9     dist_author    => "schlittermann.de",
    23     dist_author    => "schlittermann.de",
    10     dist_version   => "0.1.1",
    24     dist_version   => "0.1.1",
    11     create_license => 1,
    25     create_license => 1,
    12     license        => "gpl",
    26     license        => "gpl",