Re: [PBML] How to make STDIN unbuffered in Perl.
>>>>> "Sreeram" == Sreeram B S <sreeramabsc@...> writes:Sreeram> In Unix, the standard input is line-buffered. ie till we
Sreeram> press the ENTER key, we will not get the input
Sreeram> characters. How do we make this UNBUFFERED in Perl?
This is a FAQ. See "perldoc perlfaq5" under
How can I read a single character from a file? From the keyboard?
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!