From the docs:
It (chomp) returns the total number of characters removed from all its arguments
So my $var = chomp ($row[1]); is not doing what you expect it to do.
RataIn reply to Re: Chomp is removing the whole word instead of the newline
by Ratazong
in thread Chomp is removing the whole word instead of the newline
by slayedbylucifer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |