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

Re: [perl #109408] Documentation that refers to Perl 5 as new

Thread Previous | Thread Next
From:
Eric Brine
Date:
February 1, 2012 16:37
Subject:
Re: [perl #109408] Documentation that refers to Perl 5 as new
Message ID:
CALJW-qFJSp=ZFZob=d+HtebXnYFTf2Ozk-8edWpyP7UGK_d2tw@mail.gmail.com
On Wed, Feb 1, 2012 at 9:32 AM, Abigail <abigail@abigail.be> wrote:

> > =item *
> >
> > Perl supports pass by named parameter, allowing optional arguments to be
> omitted
> > and the argument order freely rearranged.
>
> There's support in Perl for named parameters other than that Perl doesn't
> prevent the programmer from rolling their own named parameter support?
>

It's referring to how easy it is to do

foo(a => 1, b => 2);

where as it's next to impossible in another set of languages.

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