=begin comment Foo::Walker is in Foo/Walker.pm6 =end comment unit role Foo::Walker; #| Begin walking... method walk { ... } =begin comment Foo::Person is in Foo/Person.pm6 =end comment use Foo::Walker; unit class Foo::Person does Foo::Walker is export; has Str $.name; #| Walk a distance $dist in $unit. method walk($dist, $unit = 'ft') { say "$!name is walking $dist $unit."; } =begin comment main.p6 is in the directory as Foo/ =end comment use lib '.'; use Foo::Person; my Person $p1 .= new: :name('Rapht'); $p1.walk(23); =begin comment My issue is that when I run p6doc on Person.pm6 to extract the documentation, I get the following error: ===SORRY!=== Could not find Foo::Walker at line 1 in: /home/luis/.perl6 /opt/rakudo/install/share/perl6/site /opt/rakudo/install/share/perl6/vendor /opt/rakudo/install/share/perl6 CompUnit::Repository::AbsolutePath<94090483110400> CompUnit::Repository::NQP<94090463797560> CompUnit::Repository::Perl5<94090463797600> =end comment