in reply to Re: Use Moose in Controller and Model
in thread Use Moose in Controller and Model

Hi stvn,

You are awesome and right about what happening to my code. After replacing this code:
use Moose; use base 'Catalyst::Model::DBIC::Schema';
with either:
use Moose; BEGIN { extends 'Catalyst::Model::DBIC::Schema' };
or
use Moose; extends 'Catalyst::Model::DBIC::Schema';
(same for Controller), the problem solved. Moose can work well with my Catalyst app now.

Thanks you all.