[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Script problems



Steve Goodwin wrote:

> Hello all:
>
> I'm still having problems with a short "form input script"....
> [... much code omitted ...]
>
>  # Read in text from STDIN (i.e. user form input)
>  if ($ENV{'REQUEST_METHOD'} eq "POST"){
>    read(STDIN,$in,$ENV{'CONTENT_LENGTH});
>  }
>
> [... more code omitted ...]

In the read statement, the single-quote at the end of CONTENT_LENGTH
is missing.

--------------------------------------------------------------------
-jn- (my two cats have accepted full responsibility for my opinions)
--------------------------------------------------------------------