in reply to
When do you use chop instead of chomp?
You could use it in a case where you are absolutely sure that you want to remove the last character of a string.
Comment on
Re: When do you use chop insetad of comp?
In Section
Seekers of Perl Wisdom