in reply to
newline issue
BTW, you should also chomp $yen.
chomp $yen;
[download]
for more details, see
chomp
Comment on
Re: newline issue
Download
Code
In Section
Seekers of Perl Wisdom