Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] Revised .trim patch

1 view
Skip to first unread message

Ovid

unread,
Jan 12, 2009, 5:02:02 PM1/12/09
to perl6-i...@perl.org
Seems Larry's agreed to the .trim method. There are bits that are not agreed upon, so this patch only implements what we've agreed upon. It relies on the new S29-str/trim.t test in pugs. I committed that earlier and updated t/spectest.data.


In other words, the patch is a tad clearer and now has tests.

Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://use.perl.org/~Ovid/journal/
Twitter - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

trim.patch

Moritz Lenz

unread,
Jan 12, 2009, 6:05:13 PM1/12/09
to Ovid, perl6-i...@perl.org
Ovid wrote:
> Seems Larry's agreed to the .trim method. There are bits that are not agreed upon, so this patch only implements what we've agreed upon. It relies on the new S29-str/trim.t test in pugs. I committed that earlier and updated t/spectest.data.
>
>
> In other words, the patch is a tad clearer and now has tests.

I've applied it (and changed the 32 to .CCLASS_WHITESPACE on the way) as
r35459, thanks.

Cheers,
Moritz

0 new messages