develooper Front page | perl.perl5.porters | Postings from July 2016

Re: merging optimising sub signature work so far

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
July 25, 2016 02:19
Subject:
Re: merging optimising sub signature work so far
Message ID:
20160725021855.7387.qmail@lists-nntp.develooper.com
Dave Mitchell wrote:
> I'm currently smoking this branch:
> 
>     smoke-me/davem/sub_argsB3
> 
> which if all goes well and there are no objections, I plan to then merge
> into blead.

One more thing:

a signature parameter must start with '$', '@' or '%'
a slurpy parameter may not have a default value
illegal character following sigil in a subroutine signature

Most error messages begin with a capital letter.  I think these
should, too.

*This* one is capitalised:

Multiple slurpy parameters not allowed

Also:

Too %s arguments for subroutine

It is easier for people to find the error if it is listed twice in
perldiag, under 'Too few' and 'Too many'.  That is why we have
/* diag_listed_as: ... */ comments.

If you want, I can clean these up for you after you merge your branch.


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