chomp is used for stripping newlines. chop is used when you want to destructively work with the last character of a string. Pretty simple. :-) (In other words, if you're using chop and discarding the return value, maybe you shouldn't be using chop ...)
------ We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
Comment on Re: When do you use chop instead of chomp?