Smylers wrote:
> I had been assuming that Perl 6 would continue the tradition that
> anonymous subroutines don't have names.
>
> 'Synopsis 6' contains this line:
>
> On an anonymous subroutine, any return type can only go after the
> name:
>
> Which "name" would that be?
>
> The example giv
I had been assuming that Perl 6 would continue the tradition that
anonymous subroutines don't have names.
'Synopsis 6' contains this line:
On an anonymous subroutine, any return type can only go after the
name:
Which "name" would that be?
The example given:
$lay = sub returns Egg {...}
Piers Cawley writes:
> Smylers <[EMAIL PROTECTED]> writes:
>
> > Paul writes:
> >
> > > My P7 syntax is still weak, though. Maybe
> > >
> > > given big_calc() { return $_ if $_ }
> >
> > Using C works in Perl 5. Is there anything preventing this
> > working in Perl 6:
> >
> > for big_calc()