module A { sub foo() is export { say 'in foo'; } }
use v6; BEGIN { push @*INC, 'examples/modules'; } use A; foo();
Table of Contents