Hey Gabor, I think unit is short for compunit and just means everything below is in that package (can be module,class,role...). Briefly explained in http://design.perl6.org/S11.html.
I think here is best place to add atm: http://docs.perl6.org/language/modules. LL On Thu, Jul 30, 2015 at 10:18 PM, Gabor Szabo <ga...@szabgab.com> wrote: > I got a lot of the above warning on my code-base, which then goes on and > suggests: > > Please use 'unit class' instead > > Using unit class indeed silences Rakudo, but I could not find any > information on 'unit' > at http://doc.perl6.org/ and the http://doc.perl6.org/language/classtut > shows class definition > with curly braces. > > It would be nice if someone could add some explanation about unit, or > point us to existing explanation if there is some. > > regards > Gabor >