[Catalyst] $c->model weirdness?
Alex Povolotsky
tarkhil at over.ru
Sat Mar 1 18:14:37 GMT 2008
Hello!
I've created the DBIC model with helper script, all files are in place
and seems to be OK.
However,
my $model = $c->model('TrafficDB::Server');
my $traffic = $c->model('TrafficDB::DailySummary');
...
$c->log->info(ref $me);
$c->log->info(ref $traffic);
yields
[info] Traffic2::M::TrafficDB::Server
[info] DBIx::Class::ResultSet
So sub's defined in DailySummary.pm are not loaded.
I have no idea on what can be wrong :( maybe someone will point me?
Alex.
More information about the Catalyst
mailing list