Hello
How are you handling configuration for applications or code that run
outside of Catalyst?
For example, in my model tests, I have code like this:
use MyCompany::CatApp;
my $app = MyCompany::CatApp->new();
my $model = $app->model('DB::Model')->new({});
ok( $model->insert );
On Thu, Aug 27, 2009 at 11:10 PM, Daniel Austin wrote:
> Hello
>
> How are you handling configuration for applications or code that run
> outside of Catalyst?
>
> For example, in my model tests, I have code like this:
>
> use MyCompany::CatApp;
> my $app = MyCompany::CatApp->new();
> my $m
On Thu, Aug 27, 2009 at 7:10 PM, Daniel Austin wrote:
>
> Hello
>
> How are you handling configuration for applications or code that run
> outside of Catalyst?
>
> For example, in my model tests, I have code like this:
>
> use MyCompany::CatApp;
> my $app = MyCompany::CatApp->new();
> my
Hi,
Am 28.08.2009 um 04:58 schrieb Bill Moseley:
But, now I'm thinking about making all access go through Catalyst.
That is, a cron job would log in via the API and then use and API
method to do its work. Wouldn't need to be a web request, of course.
Then I've got one access layer to the appli
On Fri, 2009-08-28 at 12:10 +1000, Daniel Austin wrote:
> Hello
>
> How are you handling configuration for applications or code that run
> outside of Catalyst?
>
> [snip]
If you are just trying to emulate Catalyst's config loading mechanism to
connect the schema yourself then have a look at Confi
2009/8/28 Eden Cardim :
> > [...]
> Catalyst::Model::DBIC::Schema is just an adaptor for loading a
> DBIC::Schema inside a catalyst application. You can "use
> MyApp::Schema::DB" anywhere outside your catalyst application, [...]
Initially I was doing exactly that for my model tests. But then I
fou