How to include file in Raku

Using explicit file syntax and explicit export list seems to work for me in Rakudo:

main.p6:

require Hello:file('Hello.p6') <hello>;

hello();

hello.p6:

sub hello {
    say 'hello';
}

Source: http://perlcabal.org/syn/S11.html#Runtime_Importation


Just for the record, the proper solution is to use a module:

File Hello.pm6

 module Hello;
 sub hello() is export {
     say 'hello';
 }

File hello.p6:

 use v6;
 use lib '.'; # to search for Hello.pm6 in the current dir
 use Hello;
 hello;