On Tue, 08 Aug 2000, Casey R. Tweten wrote:
> Today around 6:55pm, Bryan C. Warnock hammered out this masterpiece:
>
> : 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
>
> Where, oh where, did you find these? And why, oh why, haven't I found
> them on CPAN already?
I wrote them. (One of my first exercises in XS and Perl internals, as
a matter of fact.) They're quite trivial to produce, not taking
variations of what constitutes whitespace into account.
Because no one has submitted them, I guess. I don't have a PAUSE
account. I keep meaning to request one, but the justification
requirement keeps getting in my way. :-(
(Not that that should change. CPAN's got enough trouble as it is.)
--
Bryan C. Warnock
([EMAIL PROTECTED])