in reply to Problems Processing Hash within Cgi Script

I suspect your program is dying somewhere. Check your error logs. You could also
use CGI::Carp qw(fatalstobrowser);.

-b

Replies are listed 'Best First'.
Re^2: Problems Processing Hash within Cgi Script
by EchoAngel (Pilgrim) on Dec 22, 2004 at 16:46 UTC
    I have found that once the code reaches this line, everything below isn't processed , but I must have the hash data create by this package! Note the resulting output from perl myscript.cgi is a valid html page!
    my %HASHDATAFROMLIBRARYFILE = MONKEY::MONKS($libraryFile);
Re^2: Problems Processing Hash within Cgi Script
by EchoAngel (Pilgrim) on Dec 22, 2004 at 17:00 UTC
    Okay, I finally found the problem thanks to that package/module. somewhere in that monkey package, it's trying to create a temp file, but for some reason can't. Any ideas? I gave my cgi script +777
      I would advise against giving more permissions than you have to. World writable files are something to be avoided.

      That aside, I did not see any code about opening a file. Perhaps using die would help.

      Neil Watson
      watson-wilson.ca