package myModule; use Perl6::Export::Attrs; sub DoSomething :Export { #whatever }