develooper Front page | perl.perl5.porters | Postings from September 2014

Re: Roadmap/plan for Perl 5?

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
September 3, 2014 17:25
Subject:
Re: Roadmap/plan for Perl 5?
Message ID:
20140903182525.3900f3aa@shy.leonerd.org.uk
On Wed, 3 Sep 2014 12:42:19 -0400
Jarkko Hietaniemi <jhi@iki.fi> wrote:

> These just the top off my head and while typing to my phone.  There
> is no reason why they need to be in an extension, except That Is The
> Way It Has Been.

Hmm.. I'd argue the converse, at this stage.

There's no reason /to/ add them as core operators when they can live in
Scalar-List-Utils' .xs file. Any nontrivially sized program these days
is likely to have ListUtils.so loaded anyway.

Maintaining all of these as simple functions in the XS code is easier
IMHO than maintaining them as truely-core ops.

What would you suggest as the alternative?

  use feature qw( weaken );

  weaken( my $ref = $otherref );

perhaps? I don't see the difference that makes to the end-user.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
http://www.leonerd.org.uk/  |  https://metacpan.org/author/PEVANS

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About