2005/7/28, Yuval Kogman <[EMAIL PROTECTED]>:
>
> I think unary = is what you want:
> 
>         my @a = $span.lazy;
> 
>         for [EMAIL PROTECTED] -> $item {
>                 ...
>         }
> 
> Ofcourse, my @a = $span.lazy will have to be fixed, but what you
> tried should be working.

Is "for =" only for filehandles? I tried:

  pugs> say for =1
  *** cannot cast from VInt 1 to Handle (VHandle)

- Flavio S. Glock

Reply via email to