|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Chomp is removing the whole word instead of the newlineby Ratazong (Prior) |
| on Jul 25, 2012 at 09:34 UTC ( #983590=note: print w/ replies, xml ) | Need Help?? |
|
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. Rata
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||