On Fri Jun 18 07:36:28 2010, masak wrote: > $ cat A/B.pm > class A::B {} > > $ perl6 -e 'use A::B; class A {}' > ===SORRY!=== > Illegal redeclaration of symbol 'A' > > $ perl6 -e 'class A::B {}; class A {}; say "alive"' > alive > > In the failing program, if 'class A::B {}' is replaced by 'role A::B > {}', things still fail. If the '{}' is replaced by a semicolong, > things still fail. However, if 'class A' is replaced by 'role A', > things work.
This works now: $ cat A/B.pm class A::B {} $ ./perl6 -e 'use A::B; class A {}; say "alive"' alive Closable with tests. -- Will "Coke" Coleda