]> git.decadent.org.uk Git - maypole.git/blobdiff - ex/BeerDB.pm
+ TT2 objects used in M::V::TT are configurable with
[maypole.git] / ex / BeerDB.pm
index 64f69541ba97aa4cf398a664dd0f438b1c5eb2b6..1e84b36147f4b5f5e7ad2192220435f5d94296e5 100644 (file)
@@ -1,7 +1,9 @@
 package BeerDB;
-use Maypole::Application qw/-Debug/;
+use Maypole::Application;
 use Class::DBI::Loader::Relationship;
 
+sub debug { $ENV{BEERDB_DEBUG} }
+
 BEGIN {
 # This is the sample application. Change this to the path to your
 # database. (or use mysql or something)