develooper Front page | perl.perl6.language | Postings from August 2005

Re: Demagicalizing pairs

Thread Previous | Thread Next
From:
Chip Salzenberg
Date:
August 24, 2005 10:11
Subject:
Re: Demagicalizing pairs
Message ID:
20050824171239.GN1432@tytlal.topaz.cx
On Wed, Aug 24, 2005 at 08:38:39AM -0400, John Macdonald wrote:
> When calling a function, I would like to be able to have a
> mixture of named and positional arguments. The named argument
> acts as a tab into the argument list and subsequent unnamed
> arguments continue on.

I see a main point of named parameters to free the caller from the
tyranny of argument order (and vice versa).  It seems to me you're
asking for the worst of both worlds.
-- 
Chip Salzenberg <chip@pobox.com>

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