On Tue, 08 Aug 2000, Ed Mills wrote:
> As long as were culling, might want to consider removing chomp() and 
> possibly chop(). The language provides other ways to accomplish those thru a 
> simple regex, 

Then we should remove regexs instead.  :-)

> and if the "println" suggestion I made was "too specific" then 
> certainly chomp() is as well.
> 
> Just a thought to chomp on..

As has been demonstrated, it is certainly trivial for you to impliment
println() yourself.  Maybe even contribute it to CPAN for others to use.
The effect on the Perl community as a whole will be nil, as no one
is using this yet.

chop, chomp, (champ, chimp, chump, chap, and chip, which, respectively,
deletes all leading and trailing whitespace characters, all leading
whitespace characters, all trailing whitespace characters, the first
and last character, and the first character) are all efficient string
idioms for which a regular expression is overkill.  If external modules
become as efficient as we hope they are, there is no reason that *any*
of the above should be CORE perl, but chop and chomp should certainly
remain in the core distro.  As is.

 -- 
Bryan C. Warnock
([EMAIL PROTECTED])

Reply via email to