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

Re: merging optimising sub signature work so far

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
July 25, 2016 22:02
Subject:
Re: merging optimising sub signature work so far
Message ID:
20160725090431.GX3477@iabyn.com
On Mon, Jul 25, 2016 at 02:18:55AM -0000, Father Chrysostomos wrote:
> 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.

I'll sort them now.

-- 
Any [programming] language that doesn't occasionally surprise the
novice will pay for it by continually surprising the expert.
   -- Larry Wall

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