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

From: Dave Howorth (Dave.Howorth at acm.org)
Date: Mon Dec 27 2004 - 21:13:28 GMT


Tony Bowden wrote:
> On Mon, Dec 27, 2004 at 06:44:33PM +0000, Simon Cozens wrote:
>>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

It's Class::DBI::Loader that removes the '_', so you never get a
Class::DBI class name that has an underscore in it if you use that. But
it doesn't (didn't, I think now?) handle other non-alphanumeric
characters properly anyway.

Cheers, Dave

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 26/12/04

_______________________________________________ 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