> If I write the name of the database in more modules it will be harder to > change its name, but now I I think that I could use something like: > > $c->model($c->config->{db}); > > and just change the name of the db in the application config. Or you can just use $c->model() and define the "default_model" parameter in the config file. -- Jonas