in reply to Module/Class definition in Rakudo

The syntax you use is wrong (see S11 for example), the right thing would be

module Foo:ver<1.0>;

Rakudo (latest version from github) seems to accept this syntax, but to the best of my knowledge ignores it.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Module/Class definition in Rakudo
by Burak (Chaplain) on Dec 07, 2009 at 00:30 UTC
    Thanks! #23 seems to parse that as well since I get no errors :) So, the sample modules in the pugs repo are not quite good examples I presume?
      Many of those are very outdated. You'll have better chances in the perl6-examples repository on github.
        Nice :) I'll check that