On Jun 8, 2012, at 5:04 PM, Tomas Doran wrote:
> Sorry - I'm confused - how does calling into the app to get stuff as
> $self->application_name->model('Foo')->some_method(@stuff)
How does the Model, called like that, would know the details of where it is
supposed to connect? Things like the DSN, username, password, etc are in config
files whose reading is triggered "magically" by the Catalyst infrastructure.
However that is not present when running as a script.
This is the reason for my question.
-lem
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/