in reply to chop vs chomp

*shrug* nuts vs. bolts?
So what is wrong with chomp()?

Nothing is wrong with chomp, and there's nothing wrong with chop either. Both work as documented, and both have their uses.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.