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

Re: perl script run by inetd ??



On Sun, 27 Sep 1998 02:16:47 -0400 (EDT), "Jerry Yu Z." <gs01zyu@panther.Gsu.EDU> said:
>
> [When run from inetd, this gives no response:]
>
>     local $EOL = "\015\012";
>     print "Welcome ; type help for command list.$EOL";
>     print "Command?$EOL";
>     while (<STDIN>) {
>        chop;
>        print;
>     }

This is the Perl FAQ called "How do I flush/unbuffer a filehandle?  Why
must I do this?"  See the perlfaq5 man page.

-- 
Roderick Schertler
roderick@argon.org


Reply to: