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

Re: merging optimising sub signature work so far

Thread Previous | Thread Next
Dave Mitchell
July 25, 2016 22:02
Re: merging optimising sub signature work so far
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About