Re: Module::Build + Apache2 oddity

2006-03-06 Thread Randy W. Sims
Tyler MacDonald wrote: I have a function that does this to get database settings, to test an apache2 handler that uses a database: sub test_db { my $build = Apache::TestMB->current; return unless $build->notes('DBI_DSN'); return map { defined $build->notes($_) ? $build->notes

Module::Build + Apache2 oddity

2006-02-25 Thread Tyler MacDonald
I have a function that does this to get database settings, to test an apache2 handler that uses a database: sub test_db { my $build = Apache::TestMB->current; return unless $build->notes('DBI_DSN'); return map { defined $build->notes($_) ? $build->notes($_) : '' } qw(DBI_DS