Subject: | Not working on a new Catalyst build using Moose |
Date: | Wed, 20 Oct 2010 12:20:01 +0100 |
To: | <bug-catalyst-controller-formbuilder [...] rt.cpan.org> |
From: | Vandana A <avandanaa [...] hotmail.com> |
Hello,
Code snippet:
package ordermgt::Controller::UserMgt;
use Moose;
use namespace::autoclean;
extends qw/Catalyst::Controller::FormBuilder/;
sub showuser : Local Form {
##stuff
}
On compliling get an error:
Invalid CODE attributes: Local : Form at
Please help.
I have also tried appending the extends with Catalyst::Controller..but it makes no difference.
Kind Regards,
Vandana