On Thu, Jul 28, 2005 at 19:58:16 -0300, Flavio S. Glock wrote:
> 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)

Hmmm... That's odd. I may be out of date, but I thought that unary =
is the complement of unary **.

-- 
 ()  Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418  perl hacker &
 /\  kung foo master: *shu*rik*en*sh*u*rik*en*s*hur*i*ke*n*: neeyah!!!!

Attachment: pgpupSNmZSHix.pgp
Description: PGP signature

Reply via email to