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


Thread Previous
Dave Mitchell
February 22, 2015 22:03
Message ID:
On Sun, Feb 22, 2015 at 09:15:10PM -0000, Father Chrysostomos wrote:
> 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.

Hmm, I think I originally added it because it would help with deparsing,
but ended up doing deparsing a different way.

I'm not really bothered either way, and unless anyone thinks it might be
useful, I'm happy to remove it again.

I thought I was wrong once, but I was mistaken.

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