First, lose the \n in the print command, or else you get a newline for each line you print. Second, lose the newline you read in, for instance, by using chomp.
Abigail
In reply to Re: Perl Output
by Abigail-II
in thread Perl Output
by mikevanhoff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |