[Catalyst] schema

Octavian Rasnita orasnita at gmail.com
Mon Dec 25 01:45:49 GMT 2006


Hi,

I need to access the same database in more controller modules, using the 
following line in every subroutine and every module:

my $schema = $c->model('DB');

Is it possible to define it only in one place and make it available in the 
entire application?

Thanks.

Octavian




More information about the Catalyst mailing list