The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Pcore::Core::Exporter - standard perl Exporter wrapper

SYNOPSIS

    use Pcore::Core::Exporter qw[];

    Pcore::Core::Exporter->import( -caller => 'Some::Package' ); # install import methos to target package

    Pcore::Core::Exporter->import( -level => 1 ); # install import methos to package in call stack

DESCRIPTION

See Exporter documentation for how to use exporting tags.

@EXPORT - contains symbols, that exported by default.

@EXPORT_OK - contains symbols, that can be exported by request.

%EXPORT_TAGS - Hash[ArrayRef] of tags and appropriate symbols.

%EXPORT_PRAGMAS - hash of pragmas, supported by exporter package. Pragmas "-level" and "-caller" are added automatically.

@EXPORT symbols are exported only if used explicitly, or if no other imports specified. If first tag is negated (!tag) - @EXPORT will be implied automatically.