in reply to Re: Re: Re: Entering external data
in thread Entering external data
Thus quoth the Camel-book on chomp:
This function (normally) deletes a trailing newline from the end of a string contained in a variable. This is a slightly safer version of chop (described next) in that it has no effect upon a string that doesn't end in a newline. More specifically, it deletes the terminating string corresponding to the current value of $/, and not just any last character.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Entering external data
by ido50 (Scribe) on Aug 10, 2003 at 17:41 UTC |