appears on different lines in the output, both $yr and $mm have a new line at the end. If you want to get rid of the new line, try chomp.print "the year is $yr"; print "the month is $mm";
In reply to Re: simple question
by BUU
in thread simple question
by pietyc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |