NAME

Pcore::Core::Exporter

SYNOPSIS

use Pcore::Core::Exporter;

our $EXPORT = [ ...SYMBOLS TO EXPORT... ];

    or

our $EXPORT = {
    TAG1    => [qw[sub1 $var1 ... ]],
    TAG2    => [qw[:TAG1 sub2 $var2 ... ]],
    DEFAULT => [qw[:TAG1 :TAG2 sym3 ...]],
};

our $EXPORT_PRAGMA = {
    trigger => 0,
    option  => 1,
};

...

use Package qw[-trigger -option OPTION_VALUE :TAG1 !:TAG2 sub1 !sub2 $var1 !$var2 @arr1 !@arr2 %hash1 !%hash2 *sym1 !*sym2], {};

# export aliases
use Package qw[$SYM=alias1 @SYM=alias2 sub=alias3]

DESCRIPTION

Tag ":ALL" is reserver and is created automatically.

If no symbols / tags are specified for import - ":DEFAULT" tag will be exported, if defined.

SEE ALSO