develooper Front page | perl.perl5.porters | Postings from December 2008

Re: Proposal: Named parameters for 5.12

Thread Previous | Thread Next
From:
Chris Prather
Date:
December 18, 2008 23:16
Subject:
Re: Proposal: Named parameters for 5.12
Message ID:
12b83b2d0812182120m351e75a0j1c1449983b4712de@mail.gmail.com
On Thu, Dec 18, 2008 at 11:57 PM, Chip Salzenberg <chip@pobox.com> wrote:

>> Either way, shouldn't we be aiming to match the syntax to the semantics
>> in a way that's consistent with Perl 6? In other words require "is copy":
>>      sub square ($num is copy) : method {
>
> Well ... that depends on the feasibility of read-only aliases, which I have
> yet to explore.

The ability to parse something as a no-op for future compatibility,
and the ability to make that do something need not be related.

-Chris

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