minixman has asked for the wisdom of the Perl Monks concerning the following question:
if (my $inp= ReadLine (-1)) { if($inp =~ m/DISPLAYON/i){ if(($logging)&&($debug)){printf("DEBUG: User has request screen + logging to be turned off : $inp\n");} $logging = 1; #next WILMER; }elsif($inp =~ m/DISPLAYOFF/i){ if(($logging)&&($debug)){printf("DEBUG: User has request screen + logging to be turned off : $inp\n");} $logging = 0; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ReadLine Non-Blocking not supported
by Corion (Patriarch) on Feb 13, 2006 at 10:56 UTC | |
by minixman (Beadle) on Feb 13, 2006 at 13:22 UTC | |
by Akhasha (Scribe) on Feb 13, 2006 at 20:23 UTC |