Re: [Maypole] Why is moniker used instead of of table name when looking for table specific templates?

From: Peter Speltz (peterspeltz at yahoo.com)
Date: Tue Dec 28 2004 - 03:44:23 GMT


--- Tony Bowden <tony-maypole at kasei.com> wrote:

> On Mon, Dec 27, 2004 at 09:40:44PM +0000, Dave Howorth wrote:
> > There's no point in overriding moniker, IMHO. That's just adding a fudge
> > to a fudge.
>
> Especially when moniker dosn't seem to be the problem so much as
> Class::DBI::Loader.
>

Neither are the problem in Maypole. The problem is Maypole is using
$class->moniker as a name of a directory. Ie : $dir_name = $class->moniker.
Then it stats (i think that's the right term) $dir_name and looks for files in
it. Isn't moniker is meant for human consumption not computer consumption.

=====
pjs

                
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT