Re: RFC 212 (v1) Make length(@array) work
[email protected] ("David L. Nicol") Thu, 14 Sep 2000 17:37:23 -0500
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Organization | University of Missouri - Kansas City supercomputing infrastructure |
| Message-ID | <[email protected]> |
>
> All I'm doing is suggesting another way, one that makes more sense for
> beginners:
>
> $a = length @b;
>
> I think we're going to have to see prototypes extended to cope with
> functions like this, anyway. I'll mention this requirement in the
> next version of the RFC.
>
> Nat
Looks good to me, then we can talk about "the implicit length function
called when evaluating an array in a scalar context" and the whole
thing fits together that much more smoothly.
--
David Nicol 816.235.1187 [email protected]
perl -e'map{sleep print$w[rand@w]}@w=<>' ~/nsmail/Inbox