I've been playing with rakudo recenly and did a little investigation about module definitions. The only module repository is the pugs repo AFAIK. I've cloned it to see some code. However class/module definitions with versions does not seem to work. Does Rakudo not support ( no such mention in
http://rakudo.org/status ) that syntax yet or the syntax changed perhaps (since pugs is no longer alive)?
C:\>perl6 -e "module Foo;"
C:\>perl6 -e "module Foo-1.0;"
Unable to parse module definition at line 1, near "-1.0;"
in Main (file src\gen_setting.pm, line 1559)
C:\>perl6 -e "class Foo;"
C:\>perl6 -e "class Foo-1.0;"
Unable to parse class definition at line 1, near "-1.0;"
in Main (file src\gen_setting.pm, line 1559)
C:\>
note: I have rakudo#23