Re: RFC 174 (v1) Parse C<func($obj, @args)> as C<func $obj (@args)>
[email protected] (Bart Lateur) Thu, 31 Aug 2000 10:32:35 +0200
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Organization | MediaMind |
| Message-ID | <[email protected]> |
On Wed, 30 Aug 2000 17:55:11 -0700, Nathan Wiger wrote: >One goal of my RFC was to promote the idea that this > > print STDOUT @stuff; > >Could be written as: > > print STDOUT, @stuff; > >Which actually clears something up. You know that STDOUT is now an >argument, and NOT a function whose return value print is going to >operate on. Combine this with the RFC that bare filehandles must die, in favor of $FH filehandles, and you won't be able to make the distinction between print $HANDLE, $string; and print $string, $string; In fact, it's already impossible to distinguish between print $HANDLE; and print $string; which essentially renders one of both illegal. -- Bart.