[EMAIL PROTECTED] wrote:
> 
> Don't understand why I'm getting a "Can't modify not in scalar assignment
> at line 3, near "}:", when I run my cgi compiler & the script obviously
> doesn't run in the browser.
> 
> I'm new to Perl and am attempting a script that I found in a book.  You
> would think that it would run without modification!  :(
> 
> PLEASE HELP!!!
> 
> Craig
> 
> !#C:\Perl\Bin\Perl.exe
> 
> $content_length=$ENV{'CONTENT_LENGTH'};
> read (STDIN, $posted_information, $content_length);
> 

I assume it's because your shebang line is wrong.  The # has to come first.
Maybe try instead:

#!C:/perl/bin/perl/exe

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.wgn.net/~dbe/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED]   http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to