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