while ( my ($in) = human_input() ) { do_something($in); }