in reply to Re: Problems Processing Hash within Cgi Script
in thread Problems Processing Hash within Cgi Script

1. Ya, there is tons of information when i dump using data::dumper 2. when i do perl myscript.cgi, i see the html output. I saved that to the another file.html and I open it in a browser and it's fine. 3. i'm sure that package works.
  • Comment on Re^2: Problems Processing Hash within Cgi Script

Replies are listed 'Best First'.
Re^3: Problems Processing Hash within Cgi Script
by Joost (Canon) on Dec 22, 2004 at 16:05 UTC
      yes it has permission to read it. When I run perl myscript.cgi , the output is a valid html page. When running myscript.cgi on the browser, till still cuts off the html after my hash code section
        Running perl myscript.cgi is not the same as running it as a CGI - your server can run cgi scripts as another user for instance, the environment variables will not be the same and depending on the server, it might not be called with the same current directory. My guess is that the call to the sub in your module is not succeeding, hence my questions.