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