sub input { chomp( my $input = ); exit if $input eq "exit"; return $input; }