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: Wed Dec 29 2004 - 04:01:41 GMT


On Tue, Dec 28, 2004 at 04:59:11PM -0800, Peter Speltz wrote:
> Misleading in this case:
> package Football;
> use base Class::DBI;
> Football->table('fairy');

This is a great example.

For the various things which use moniker() and/or table() what's the
consensus on which should be used where?

I'd personally want 'football' almost everywhere.

Particularly if the table wasn't even 'fairy' but something like:
  Football->table('tx_fbs_34')

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