develooper Front page | perl.perl5.porters | Postings from June 2021

Re: use sort;

Thread Previous
Dan Book
June 9, 2021 07:15
Re: use sort;
Message ID:
On Wed, Jun 9, 2021 at 3:03 AM Nicholas Clark <> wrote:

> More generally, the historical purpose of C<use sort> was one way of
> upgrading one type of behaviour. We wondered why we have a special case for
> sort.  Why can't one simply import a new sort function, the same way that
> you could import some other function to do $other?

Having a rough idea of how sort is parsed, I'm not sure introducing more
keywords with that behavior is wise...

(not that it sounds like you are suggesting anything specific here)


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