Automatically add install dir to @INC.

This commit is contained in:
hjp 2006-11-20 11:25:55 +00:00
parent 533b2bf32e
commit d5d55b5536
2 changed files with 8 additions and 3 deletions

View File

@ -1,11 +1,15 @@
use Module::Build; use warnings;
my $build = Module::Build->new use strict;
use lib './lib';
use Simba::Build;
my $build = Simba::Build->new
( (
module_name => 'Simba', module_name => 'Simba',
license => 'perl', license => 'perl',
requires => { requires => {
#Readonly => 0, #Readonly => 0,
Digest::SHA1 => 0, 'Digest::SHA1' => 0,
}, },
script_files => [ script_files => [
'da', 'da',

1
da
View File

@ -2,6 +2,7 @@
use warnings; use warnings;
use strict; use strict;
use Simba::DA; use Simba::DA;
use lib 'blib/lib';
open(my $log, '>>', '/var/log/simba/da.log'); open(my $log, '>>', '/var/log/simba/da.log');
$log->autoflush(1); $log->autoflush(1);