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

[email protected] (Nathan Torkington) Wed, 13 Sep 2000 12:07:46 -0600 (MDT)
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
Nathan Wiger writes:
> Brainstorming off the top of my head:
> 
>    sub length (($|@)) {
> 
>    }
> 
> That is, use a regex-like "(x|y)" - or maybe [$@%] ?? - for alternative
> context coercions.

The only RFC on prototype extensions we have is Andy Wardley's #57.
I suggest you ask him to add this feature.

Nat