Samuel Mauntz wrote:

> Thanks George,  I thought that was something I had in earlier that I had
> accidentally deleted...I took your advice though and stuck that html header
> in there after the shebang...

Now try printing the content header BEFORE the shebang.  Consider--when you are 
accessing a script from a browser, you are flying blind.  If y6our program errors out 
before reaching the content header, you get nothing but an uninformative Internal 
Error message.  Better to spit the header out right away, and then print the results 
of operations to the page.

my $Test = "6 + 4 * 2";
print "<h2> Test is now $Test </h2>\n";

or even just keep moving forward in your script, cutting and pasting the folllowing at 
locations where errors may possibly occur:
print "<h2> Still hangin in, dude! </h2>\n";
If you get past a point and see the line on the page, you know you're probably safe so 
far.  When the line doesn't print, look to the previous action for your first error.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to