sub import($pkg : ARRAY $export=undef, ARRAY $ok=undef, HASH $tags=undef) {
####
ARRAY $export //= undef
####
my $from_pkg=caller.package;
####
my $from_pag = caller.MY.package;
####
sub myimport($exp_from : *@symbols=() : *@options=()) {
####
sub myimport($exp_from # expect a scalar as arg 1
: # then expect a colon
*@symbols=() # then flatten any args
: # until another colon
*@options=() # then flatten any more args
) {
####
if(defined $export) {
@Exporter::From::EXPORT = $export;
}
if(defined $ok) {
@Exporter::From::EXPORT_OK = $ok;
}
if(defined $tags) {
%Exporter::From::EXPORT_TAGS = $tags;
}
}