Re: [PATCH] Add .trim method

[email protected] (Larry Wall) Mon, 12 Jan 2009 10:23:25 -0800
Newsgroups perl.perl6.language,perl.perl6.internals
Message-ID <[email protected]>
On Mon, Jan 12, 2009 at 09:33:32AM -0800, Geoffrey Broadwell wrote:
: That of course raises the question of how one *would* properly override
: trim's concept of whitespace ....

Well, given that .trim is essentially just .comb(/\S.*\S/), which in
turn is really just m:g/(\S.*\S)/, I don't see much need for alternate
trimmings.

Larry