Re: RFC 57 (v1) Subroutine prototypes and parameters
[email protected] (Bart Lateur) Tue, 08 Aug 2000 22:45:05 +0200
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Organization | MediaMind |
| Message-ID | <[email protected]> |
On Tue, 08 Aug 2000 08:49:07 -0700, Nathan Wiger wrote: >In the meantime, is there a reason the suggestion of: > >> foo($x := 10, $y := 20) > >was dropped? It seems pretty obvious to me. It only looks obvious to you, because it's familiar from other programming languages. But Perl's equivalent to that is a bare "=", and that is not quite acceptable because it will work immediately, and on the wrong variable. -- Bart.