[Catalyst] Question on Catalyst::Example::InstantCRUD

Mauro Andreolini andreoli at weblab.ing.unimo.it
Tue May 30 15:39:04 CEST 2006


On Tue, 2006-05-30 at 15:35 +0200, Zbigniew Lukasiak wrote:
> Hi,
> 
> Try adding stringification to the classes:
> 
>  use overload '""' => sub { shift->name }, fallback=> 1;
> 
> It should work for 'belong_to' relations.

Thanks a lot for your prompt response. I do not understand exactly where
I should put this statement. Should I put it:

- in all app/lib/DBSchema/... classes?
- in all app/lib/app/C/... classes?

Anyway, I'll try it now.

Best regards

-- 
Ing. Mauro Andreolini - Ph.D., Research Associate
Dipartimento di Ingegneria dell'Informazione
Università di Modena e Reggio Emilia - Italia
e-mail: andreolini.mauro at unimore.it
www: http://weblab.ing.unimo.it/people/andreolini/
tel: +39 059 2056256, fax: +39 059 2056129




More information about the Catalyst mailing list