Subject: | Re: Possible bug in form_generator.pl - CANCEL |
Date: | Fri, 20 May 2011 09:42:45 -0700 |
To: | bug-HTML-FormHandler-Model-DBIC [...] rt.cpan.org |
From: | Ron Grant <rgrant [...] skywaywest.com> |
Found the bug - and it was me!
I was using the wrong schema_name spec. It was difficult to figure out
what to specify - in this case it was "Dashboard::Schema", not
"Dashboard::Model::DB" - i.e. not the Catalyst model.
On 11-05-19 12:20 PM, Ron Grant wrote:
Show quoted text
> Can't use string ("Dashboard::Model::DB") as a HASH ref while "strict
> refs" in use at accessor
> Catalyst::Model::DBIC::Schema::_original_class_name (defined at
> /usr/lib/perl5/site_perl/5.8.8/MooseX/Traits/Pluggable.pm line 19)
> line 5.
>
> In HTML-FormHandler-Model-DBIC-0.15
>
> Perl 5.8.8 CentOS Linux 5.6 kernel 2.6.18-238.9.1.el5xen x86_64
>
> There is also an issue with the script itself; the stock script reports:
>
> syntax error at /usr/bin/form_generator.pl line 5, near "package
> form_generator."
>
> when run, unless one comments out the lines up to and including
> "package form_generator.pl".
>
>
> glad to be of further help finding a resolution, I am trying to use
> your module to build a new Scaffolding Controller Helper that
> automatically builds HTML::FormHandler forms
>
>
>
--
Ron Grant Managed DSL/T1/Wireless/Fibre
Skyway West Business Internet Internet and Private Networking
rgrant@skywaywest.com Bonding and Fail Over Solutions
ph: 604 737 2113 Virtual Data Centre and Private Clouds
fax: 604 482 1299 http://www.skywaywest.com
Sales, Support and Billing http://www.skywaywest.com/contact-us.htm