use v5.16; use utf8; use warnings; package My::Lib; use Perl6::Export::Attrs; sub foo :Export { return 5; } 1;