sub get_user_input { my $prompt = shift; print "$prompt\n"; return chomp() }