[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] CGI::FormBuilder


I am taking the plunge and trying to use all of the good 
stuff together in building future websites.  So far I have 
CGI::Application, HTML::Template, and now CGI::FormBuilder.  
I am wondering if the extra effort of learning and using 
FormBuilder is really worth it.  I had a nice working 
example, until I tried adding the line to my html template 
for changing modes and it crashed my program with:

[Fri Feb 18 13:30:40 2005] [error] [client 127.0.0.1] 
Premature end of script headers: webapp.cgi
[Fri Feb 18 13:30:40 2005] [error] [client 127.0.0.1] Error 
executing run mode 'mode2': Can't use string ("0") as a HASH 
ref while "strict refs" in use at 
C:/Perl/site/lib/CGI/FormBuilder.pm line 947.
[Fri Feb 18 13:30:41 2005] [error] [client 127.0.0.1]  at 
C:/Program Files/Apache Group/Apache2/cgi-bin/webapp.cgi 
line 4
[Fri Feb 18 13:31:39 2005] [error] [client 127.0.0.1] 
Premature end of script headers: webapp.cgi
[Fri Feb 18 13:31:39 2005] [error] [client 127.0.0.1] Error 
executing run mode 'mode2': Can't use string ("0") as a HASH 
ref while "strict refs" in use at 
C:/Perl/site/lib/CGI/FormBuilder.pm line 947.
[Fri Feb 18 13:31:39 2005] [error] [client 127.0.0.1]  at 
C:/Program Files/Apache Group/Apache2/cgi-bin/webapp.cgi 
line 4

I see there is some info in the FormBuilder docs about 
changing modes with CGI::Application, but no specific 
example.  Is it worth the effort and if so, does anyone have 
a code sample or some further directions?

Also, any recommendations on saving form data to MySQL?  I 
have a pretty simple class that does a good job, but I don't 
know if there is something good out there already that works 
well with this stuff. 

Thanks!

Mark

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.