Re: RFC 57 (v1) Subroutine prototypes and parameters
[email protected] ("Andy Wardley") Tue, 8 Aug 2000 10:02:45 +0100
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Message-ID | <1000808100245.ZM1229@bandanna> |
On Aug 7, 3:23pm, Nathan Wiger wrote:
> Hate to just write a "useless" me too on this one, but I agree with
> Bart. Dropping the prefixes doesn't look like Perl at all, and is really
> inconsistent.
I agree that it's not ideal, but I was trying to strike a similarity
with the current style of passing named parameters as a hash ref or
naked list. e.g.
mysub({ first => 1, second => 2 });
or
mysub( first => 1, second => 2 );
See, no prefixes! I'm not saying it's perfect but I would still suggest
that it's not as alien to Perl as one might initially think.
Thanks for the comments, anyway. All are duly noted.
A
--
Andy Wardley <[email protected]> Signature regenerating. Please remain seated.
<[email protected]> For a good time: http://www.kfs.org/~abw/