Re: perl and CGI



Vit <FiNaR76@xxxxxxxxx> wrote:
And this is a perfect example of why mixing everything together is a bad
idea. This error message is _not_ a Perl error message.
Your program is perfectly fine. When run from the command line it will
print those intended 3 lines and then terminate without any error
message.
That means your problem lies in a different area, in your case probably
in a misunderstanding of the CGI protocol.

I was just trying to figure out how perl and the web server works..
I have already developed a perl file to manage a web form (send the
forms field to an email address)... and the file seems to be ok..

but when I run it on the server it gives me the same error...
so I was wondering what was wrong and how can I debug the issue....

any suggestion to find out the problem??

As I mentioned before, you DO NOT have an issue with Perl. Had you
written your program in C or Pascal or Basic or Fortran you would still
get the same error message.
Your issue is with the Common Gateway Interface. Therefore asking in a
NG that deals with CGI will probably address your problem more
accurately. Did you read the FAQ I pointed out? It contains several
pointers to more information.

jue
.



Relevant Pages

  • Re: problems with Perl RegEx match
    ... Missing right bracket at ./LogPreProcessor_Inetprod.pl line 64, ... Perl didn't encounter it. ... when I used the following search term in google to look ... considering it's an error message from an older Perl - in newer Perls, ...
    (comp.lang.perl.misc)
  • Re: About the error message in Perl : "Missing right curly braces"
    ... Subject: About the error message in Perl: "Missing right curly ... SKY and the SKY marks are trade marks of ... track which line contains that curly brace which is causing that problem, ...
    (perl.beginners)
  • Re: perl and CGI
    ... This error message is _not_ a Perl error message. ... I was just trying to figure out how perl and the web server works.. ... I have already developed a perl file to manage a web form (send the ...
    (comp.lang.perl.misc)
  • Re: "Did not find leading dereferencer" - new findings to an old puzzle
    ... to do with the "Dereferencer" error, because on the first example I ... I got that error message in the context of Perl standard ... this would not explain why the error message ... source code. ...
    (comp.lang.perl.misc)
  • RE: lc
    ... > and I got an error message that said I couldn't use lc ... Then I checked my copy of Learning Perl and the index ... that Perl didn't have a lowercase function. ... Mail SpamGuard - Read only the mail you want. ...
    (perl.beginners)