>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.

What do you do when someone wants 

    $bytes = length Some_File_Handle;

or

    $files = length Some_Directory_Handle;

or

    $bytes = length Some_Directory_Handle;

or

    $blocks = length Some_Directory_Handle;

--tom

Reply via email to