From d5d55b5536f07012a11b931e221e291b56ad1879 Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 20 Nov 2006 11:25:55 +0000 Subject: [PATCH] Automatically add install dir to @INC. --- Build.PL | 10 +++++++--- da | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Build.PL b/Build.PL index 184a15a..efa527e 100644 --- a/Build.PL +++ b/Build.PL @@ -1,11 +1,15 @@ -use Module::Build; -my $build = Module::Build->new +use warnings; +use strict; +use lib './lib'; +use Simba::Build; + +my $build = Simba::Build->new ( module_name => 'Simba', license => 'perl', requires => { #Readonly => 0, - Digest::SHA1 => 0, + 'Digest::SHA1' => 0, }, script_files => [ 'da', diff --git a/da b/da index 1794346..9dac027 100755 --- a/da +++ b/da @@ -2,6 +2,7 @@ use warnings; use strict; use Simba::DA; +use lib 'blib/lib'; open(my $log, '>>', '/var/log/simba/da.log'); $log->autoflush(1);