develooper Front page | perl.perl6.language.subs | Postings from September 2000

Re: RFC 212 (v1) Make length(@array) work

From:
Graham Barr
Date:
September 13, 2000 10:39
Subject:
Re: RFC 212 (v1) Make length(@array) work
Message ID:
20000913165104.O437@pobox.com
On Wed, Sep 13, 2000 at 08:32:08AM -0700, Randal L. Schwartz wrote:
> >>>>> "Perl6" == Perl6 RFC Librarian <perl6-rfc@perl.org> 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.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About