Home: Perl Programming Help: Win32 Programming Help:
No EOF with STDIN in IIS?


Apr 24, 2001, 2:53 AM

Views: 7084
     No EOF with STDIN in IIS?

The statement $inp=<STDIN> works in unix servers, but in IIS the .pl script hungs!
If read(STDIN, $inp, $ENV{CONTENT_LENGTH}) is used, it works ok, but why does the previous statement hung?
Do unix servers include an EOF at the end of STDIN and IIS doesn't?
Thank you in advance, alkis


Apr 26, 2001, 7:22 PM

Views: 7073
     Re: No EOF with STDIN in IIS?

This is a duplicate post of http://forums.perlguru.com/showflat.pl?Cat=&Board=Forum8&Number=9882&page=0&view=collapsed&sb=5

Sun Sep 9, 2001 - 1:46:40 GMT, a very special second in the epoch. How will you celebrate?