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 {...};

suggests that return types can only go after "the place where the name
would be if this subroutine had been a named subroutine instead of an
anonymous one".

Or am I missing something?

Smylers

Reply via email to