Perl page with <STDIN> hangs in browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • friendofgod
    New Member
    • Jun 2010
    • 1

    Perl page with <STDIN> hangs in browser

    Server is Win 2003, with IIS 6, patched up to date with Windows Update, and using perl version 5.008008.

    Re: Page with STDIN hangs, and does a continuous load, when called in browser.



    Page 1... "my_stdin.H TM"

    <form src="my_stdin.P L" method="post">
    <input type="text" name="TEXT">
    <input type="submit">
    </form>



    Page 2... "my_stdin.P L"

    #! perl
    my$stdin=<STDIN >;
    print $stdin;



    Page 3... "my_stdin2. PL"

    #! perl
    my$stdin=<STDIN >;



    When Page 1 sends something to Page 2, using browser,
    Page 1 / Page 2 will hang in browser and do a continuous load.

    When Page 3, a more direct version of Page 2, is called using a browser, the Page will hang and do a continuous load.



    Does IIS 6 need to be configured to process Perl STDIN ?



    Note: Pages without STDIN will display in the browser.



    - Look For God
Working...