in reply to Re: a farewell to chop
in thread a farewell to chop

Ah, but there is already a perl6 regular expression assertion named <cut>, which does something different. Having a prefix and an assertion that are named the same yet do different things would lead to even more confusion. Perhaps trim()?

Replies are listed 'Best First'.
Re^3: a farewell to chop
by Solo (Deacon) on Sep 11, 2002 at 17:50 UTC
    Trim() has a well-understood meaning in other languages and I think it would be a misleading to redefine it for Perl. How about scalp()?

    --
    May the Source be with you.

    You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.

Re^3: a farewell to chop
by Aristotle (Chancellor) on Sep 11, 2002 at 18:56 UTC
    What Solo said.. or maybe bite? Or nibble? :-)

    Makeshifts last the longest.