Thank you perlplexer. Using $|++ allows the prompt to display normally. However, if the prompt and the input are on the same line, the program takes the entire line (prompt and input) as the input. As cromatic said, the obvious solution is to include a newline at the end of each prompt. That is one solution to the problem, but I was wondering if STDIN can be used to get input from a line while not taking in the prompt as well. Again, I don't know much about the nuts and bolts of Perl yet, and my only other programming experience is some very limited knowledge of C++. Anyway, thank you both for your help. If there is a way to read input from a prompt on the same line, please let me know. Otherwise, thank you again for your assistance.