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

Re: trim vs trimmed revisited

Thread Previous | Thread Next
David Nicol
March 1, 2022 04:56
Re: trim vs trimmed revisited
Message ID:
> Some have suggest it should do in place in void context

I am convinced that context dependent behavior adds unnecessary complexity
and resign from the some who suggest that.

I think it should warn, maybe even die, when trim gets a reference without
an overloaded ToString.

And I think it should implicitly map in array context.


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