Anonymous Subroutine Names

2003-04-12 Thread Smylers
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 {...};

Re: Anonymous Subroutine Names

2003-04-12 Thread Allison Randal
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 given: