in reply to CGI script query
This will, hopefully, cause an error to be sent to your web browser if something went wrong with your script.use CGI::Carp qw( fatalsToBrowser );
Next, the line in your code:
makes me wonder if you didn't mean something like this:print $query->('dssp file used is $dssp_file');
.. at least ->p() is a function implemented in CGI (it wraps <p>...</p> tags around your text).. I don't know what the behaviour of the ->() call would be from your CGI object $query.print $query->p('dssp file used is $dssp_file');
Finally, as holli mentions, you appear to be missing lines of code, not least because I couldn't count 45 lines there to find your error.. or at least look at the 2 or 3 preceeding lines that may have caused the error.
PS: did you add use strict; to your script..
Considered (holli): force insert "Update notification". author changed original content and did not react to a /msg
Unconsidered (holli): Enough keep votes (Keep/Edit/Delete: 6/12/0)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI script query
by tlm (Prior) on Jun 08, 2005 at 13:53 UTC | |
by Angharad (Pilgrim) on Jun 08, 2005 at 14:52 UTC |