in reply to Re: Re: Re: Input/Output through the Keyboardin thread Input/Output through the Keyboard
while (<STDIN>) { chomp; if ($_ eq "quit") { exit; } print eval "$_", "\n"; } [download]