When the user enters a number, he finishes with an Enter. This Enter is part of the $number, you can remove it with chomp.
In reply to Re: output question
by choroba
in thread output question
by enderw2014
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |