use lib '.';
use dio;
say foo; # 42
#say bar; # Undeclared routine: bar
#say dio::bar; # Could not find symbol '&bar' in 'GLOBAL::dio'
#say tria::bar; # Could not find symbol '&bar' in 'GLOBAL::tria'
#say GLOBAL::tria; # Could not find symbol 'tria' in 'GLOBAL'
#say tria; # Undeclared routine: tria
use tria;
sub foo is export { 42 }
say bar; # 99
unit module tria;
sub bar is export { 99 }