Re: Chomp method



On Wednesday 26 April 2006 22:51, AndrewMcHorney wrote:
Hello
Hey Andrew


I am wondering how the chomp function works. I am looking to see how
I can truncate new line and/or carriage returns from a string. Will
chomp do nothing if there are no carriage return or line feed at the
end. If the end of the string has a space will it leave it alone?

The good way to learn how a function works is to use the perldoc utility.

perldoc -f <function>


Andrew
.