Brian wrote:
John W. Krahn wrote:
Brian wrote:

chomp($Lang = $val1);
chomp($Year_in = $val2);

chomp() removes the contents of the $/ variable from the end of the string. What makes you think that $val1 and $val2 need to be chomp()ed?

Oops, they are leftovers from when I was using STDIN


Actually, I have just tried to remove the chomps and the program stops working properly.
So it looks like they will have to stay put for a while.

:-(

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to