note that start_html("DDTS DumpBug"); needs a print in front of it or your output will never reach the browser.
f
"As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs."
--Maurice Wilkes
hi thanks for the suggestions but, i do get some out put to the browser if i use the print. Teh trouble im having is that the query does not seem to be executing so there is no results to print.
If i use the "Module;" code i get the brilliant error message of: 500 Internal server error
You'd really like command line access to the server to debug 500s (or access to it's logs). If you can run the script from the command line, you usually get a more informative error message. The same message would end up in the logs.
If you have neither access, try using Carp qw/fatalsToBrowser/ and replacing your use with a require - possibly in an eval block. That should route the error message to the browser rather than to the server logs by moving the loading of the module to run-time rather than compile time.
f
"As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs."
--Maurice Wilkes
thanks guys i now have it working turns out that my script was ok (or at least a new version was), cqperl was not installed on the web server so the cqperl query would not run
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.