Piers Cawley writes:

> Smylers <[EMAIL PROTECTED]> writes:
> 
> > Paul writes:
> >
> > > My P7 syntax is still weak, though. Maybe
> > > 
> > >   given big_calc() { return $_ if $_ }
> >
> > Using C<for> works in Perl 5.  Is there anything preventing this
> > working in Perl 6:
> >
> >   for big_calc() { return $_ if $_ }
> 
> Context. 'for' provides a list context.

Does that matter?  So long as C<big_calc()> returns a single scalar
value -- which presumably is the case in the situation being discussed
-- what's the harm of it being evaluated in a list context?

Smylers

Reply via email to