[Catalyst] Having problem with Catalyst::Controller::FormBuilder
module with Catalyst 5.8
Tomas Doran
bobtfish at bobtfish.net
Mon Nov 22 17:47:46 GMT 2010
On 22 Nov 2010, at 16:41, Cory Hollingsworth wrote:
> Here is a very simple example of a Root.pm code which illustrates my
> problem:
>
> <Start Perl Code>
> package lookupreset::Controller::Root;
> use base 'Catalyst::Controller::FormBuilder';
> use Moose;
> use namespace::autoclean;
>
> BEGIN { extends 'Catalyst::Controller' }
You're using one base class, then later replacing it with another...
You should just be able to say:
> package lookupreset::Controller::Root;
> use base 'Catalyst::Controller::FormBuilder';
as you used to - you should not need to change all of your app to use
Moose etc.
Why doesn't just using Catalyst 5.8 with no changes to your app work
for you?
Cheers
t0m
More information about the Catalyst
mailing list