develooper Front page | perl.perl5.porters | Postings from February 2022

Re: trim vs trimmed revisited

Thread Previous | Thread Next
Felipe Gasper
February 24, 2022 15:06
Re: trim vs trimmed revisited
Message ID:

> On Feb 24, 2022, at 06:36, Paul LeoNerd Evans <> wrote:
> Given I think we are now all agreed that mutate-in-place is a terrible
> idea, I don't think this naming distinction needs to remain.

What gives you this impression?

The rationale for in-place modification was/is consistency with existing built-ins, esp. chomp. AFAICT that hasn’t changed.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About