Re: RFC 212 (v1) Make length(@array) work
[email protected] (Graham Barr) Wed, 13 Sep 2000 16:51:04 +0100
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Sep 13, 2000 at 08:32:08AM -0700, Randal L. Schwartz wrote: > >>>>> "Perl6" == Perl6 RFC Librarian <[email protected]> writes: > > Perl6> Make length(@array) work > > Perl6> I propose to make length() return the number of elements in the array > Perl6> it is passed, if its first argument begins with @. > > This proposal makes length() an un-prototypable (and therefore > unoverridable). Do you have a proposal for how to handle that? Well we need one so that we can prototype reverse Graham.