From 2fad6adebe8c471ebb3a11b421fcde1f2d517fcc Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 11 Feb 2004 15:53:05 +0000 Subject: [PATCH] Docs. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@61 48953598-375a-da11-a14b-00016c27c3ee --- lib/Maypole.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Maypole.pm b/lib/Maypole.pm index b55f4f8..4f73848 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -190,6 +190,9 @@ subclass the model class, and configure your class slightly differently: $r->template("template_name"); } +Then your top-level application package should change the model class: +(Before calling C) + ProductDatabase->config->{model_class} = "ProductDatabase::Model"; (The C<:Exported> attribute means that the method can be called via the -- 2.39.2