Broken pipe Code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ravikumar S
    New Member
    • Oct 2010
    • 5

    Broken pipe Code

    Hi,

    I am new to Perl trying to setup an environment for learning Perl. Here is what I have done.

    1. I have installed Perl 5.12.2 Build 1202
    2. I have installed Abyss Web server X1(free version)
    3. Followed the instruction to associate Perl with the webserver from this link:
    http://www.aprelium.co m/abyssws/perl.html
    4. I am trying to run the simple script (code attached below)but I am getting
    CGI: [C:\Perl\bin\per l.exe test.pl ] URI: /test.pl Broken pipe. Please help me to get over this broken pipe issue. So I can learn and test perl.

    Code of test.pl

    print "Content-type: text/html\n\n";
    print "<HTML><BOD Y>";
    print "Hello, World!"
    print "</HTML></BODY>";

    Thanks,
    Ravi
  • RonB
    Recognized Expert Contributor
    • Jun 2009
    • 589

    #2
    The broken pipe problem is not with your Perl script, it's your web server setup.

    I don't know anything about the Abyss Web server, so I can't help you in fixing the setup.

    Why not use the Apache web server? It's the De Facto standard web server.

    Comment

    • Ravikumar S
      New Member
      • Oct 2010
      • 5

      #3
      Hi Ron,

      Thank you for the response, I found that line 3 in the script doesnt have a ;.

      I am going try with ; and give it a shot. If it fails then I would try out Apache.

      Comment

      Working...