[Maypole] Installation Suggestion
Ovid
publiustemp-maypole@yahoo.com
Mon, 8 Mar 2004 11:34:57 -0800 (PST)
--- Simon Cozens <simon@simon-cozens.org> wrote:
> Thanks - and thanks for publicising it on use.perl and perlmonks.
No problem. I like the idea of a lightweight solution to this problem.
> I think it probably shouldn't install it; I also think it should
> install the
> factory templates in a standard location. Unfortunately, I don't
> currently
> have the Makefile.PL juju to know how to do either of these off-hand.
> Patches welcome...
Barring me misunderstand something here, I think there are several
solutions, all of which require more than a simple patch, none of which
are terribly difficult.
Solution 1: Remove BeerDB from the distribution.
As far as I can see, you don't actually use BeerDB.pm anywhere, even in
the tests. Am I mistaken?
Solution 2: Move BeerDB out of the lib/ directory and into an
examples/ or t/test_lib/ directory.
By going that route, you can include BeerDB but not worry about it
being installed. If you browse Class::Trait
(http://search.cpan.org/src/STEVAN/Class-Trait-0.01/), you'll see an
example of test modules that are included in the test directory.
Cheers,
Ovid
=====
Silence is Evil http://users.easystreet.com/ovid/philosophy/indexdecency.htm
Ovid http://www.perlmonks.org/index.pl?node_id=17000
Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/