On Sat Jan 10 07:06:01 2009, masak wrote:
> The following three correct Perl 6 modules give a runtime error in
> Rakudo r35336.
>
> [...] 
> $ cat URI.pm
> use v6;
> 
> class URI;


I'm not sure this is legal Perl 6.  S11 says that the "class Foo;" form
is only allowed as the first statement in the file.  I recommend using
the braces form for now -- later today Rakudo will throw an exception if
the semicolon form isn't the first statement.

One could also eliminate the "use v6;", but I suspect that doesn't work
in Rakudo yet.  It shouldn't be hard to fix, so I'm leaving this ticket
open until that happens.

Thanks!

Pm

Reply via email to