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

[email protected] ((Randal L. Schwartz)) 13 Sep 2000 08:32:08 -0700
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
>>>>> "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?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!