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

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

From:
Nathan Torkington
Date:
September 13, 2000 09:50
Subject:
Re: RFC 212 (v1) Make length(@array) work
Message ID:
14783.45018.159190.372368@prometheus.frii.com
Randal L. Schwartz writes:
> 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?

Pray to Damian for a prototype that supports this? :-)

Nat



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