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

From: Tony Bowden (tony-maypole at kasei.com)
Date: Mon Dec 27 2004 - 20:56:39 GMT


On Mon, Dec 27, 2004 at 06:44:33PM +0000, Simon Cozens wrote:
> > The example in its simplicity is misleading as under default class dbi a table
> > like "note_card" will have a moniker like "notecard" and thus the directory
> > "notecard" will be searched.
> This has bit me several times. I think it should use the table name.

Whatever is doing this, it isn't moniker():

~ - perl -MUNIVERSAL::moniker -le 'print My::Note_Card->moniker'
note_card

Tony

_______________________________________________
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