Re: [Catalyst] Catalyst with HTML::FormHandler

2010-11-06 Thread Steve
Sounds like you've got the correct 'use' line, what about the package declaration line in your form module? It should read 'package MyApp::UserInterface::Form::User;' On 11/5/2010 3:11 PM, Blaine Everingham wrote: Sorry the error message is Error: Can't locate MyApp/UserInterface/Form/User.pm

Re: [Catalyst] Accessing DB from external model

2010-11-06 Thread Mike Raynham
On 05/11/10 16:50, Darren Duncan wrote: Mike Raynham wrote: Here, the connection information is moved from MyApp::Model::DB to MyApp::DB, and then Catalyst::Model::Adaptor is used to glue MyApp::Model::DB to MyApp::DB. Is it a good idea? MyApp::Model::DB appears to be part of the Catalyst

Re: [Catalyst] Catalyst with HTML::FormHandler

2010-11-06 Thread Zbigniew Lukasiak
Another question is MyApp/UserInterface/Form/User.pm in one of the directories mentioned in the error message - that is in C:/strawberry/perl/site/lib, C:/strawberry/perl/vendor/lib, C:/strawberry/perl/lib, or .? Z. On Sat, Nov 6, 2010 at 2:50 PM, Steve st...@matsch.com wrote: Sounds like

[Catalyst] example of sep db config args (was Re: Accessing DB from external model)

2010-11-06 Thread Darren Duncan
P.S. While answering a question, this email could be adapted for a Catalyst cookbook / etc entry if one wants to. Octavian Rasnita wrote: I agree and yes, that sample code could give bad ideas. In my case I am the app designer, coder, maintainer, site admin, everything but the web designer