in reply to Problems with DBIx::Class and CGI::Application
Not really. You failed to give us any info on the error messages you recieve or even the specifics on what is going wrong (ex. 'The record doesn't create at all' or 'One of the fields doesn't populate' or 'the browser get annoyed, and then makes a PFFFT sound'). If you had looked up any error messages, you would have also been able to pare the code down to a few lines, making it easier for us read. Please read How (Not) To Ask A Question.
Assuming $schema is in scope from above, your syntax looks fine. So the answer will be in the error messages. Look in the webserver error log or run some test cases from the command line.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problems with DBIx::Class and CGI::Application
by stonecolddevin (Parson) on Sep 22, 2006 at 06:07 UTC | |
by grep (Monsignor) on Sep 22, 2006 at 15:33 UTC | |
by Anonymous Monk on Sep 22, 2006 at 20:18 UTC |