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

Re: OP_SIGNATURE

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
February 22, 2015 21:15
Subject:
Re: OP_SIGNATURE
Message ID:
20150222211510.28162.qmail@lists-nntp.develooper.com
Dave Mitchell wrote:
> Since this is an internal implementation detail change to an experimental
> feature, I'm hoping that it will be non-controversial to merge it into
> bleed once it passes smoking.

I have only one objection.  You have added a new CVf_HASSIG flag that
does nothing.  Ideally, since signatures affect solely the function's
run-time effects, sub f ($a=1,@) {} should be indistinguishable from
sub f { my $a = @_ >= 1 ? $_[0] : 1; }.

I suggest not adding that flag.


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