Perhaps a little more information is necessary before we can help you in any meaningful way. Post some information about the web serving setup, code snipptets, error message, a better
description of what is going on, etc.
You should also read the thread 'How to ask questions the smart way.',
and the articles referenced there. You will then have much better luck getting useful help here and in other online forums. | [reply] |
first you should try to run a hello world script such as:
#!/usr/bin/perl
print ("Content-type: text/html\n\n");
print "hello world";
cgi script running problems are almost always one of the following:
- the script was not uploaded (ftp) in ascii format
- the script isn't marked to execute (using chmod)
- the first line of perl in your script is wrong - some web servers put perl in different locations.
- you are calling the script wrong - some servers have different calling conventions
| [reply] |
Since you really didn't give us a whole lot to go with, here are a few suggestions/ideas:
1. Test it on another unix/linux apache box.
2. Try using CGI::Carp qw (fatalsToBrowser);
3. Check out earthlink's support page in regards to perl/cgi
"The social dynamics of the net are a direct consequence of the fact that nobody has yet developed a Remote Strangulation Protocol." -- Larry
Wall | [reply] |