- KNOWN ISSUES
- SEE ALSO
- COPYRIGHT AND LICENSE
Support a project has a module that defines constants for export:
package MyApp::Const; use Exporter qw/ import /; our @EXPORT_OK = qw/ A B /; use constant A => 123; use constant B => "Hello";
const A = 123; const B = "Hello";
When true, these will be defined as "var" variables instead of "const" values.
This is the (required) name of the Perl module to include.
This is an array reference of symbols or export tags in the "module"'s namespace to export.
If it is omitted (not recommened), then it will look at the modules
@EXPORT_OK list an export all modules.
Any subroutine can be included, however if the subroutine is not not a coderef constant, e.g. created by constant, then it will emit a warning.
True if there are "constants".
This is an array reference of paths to add to your
@INC, when the "module" is not in the default path.
True if there are included paths.
When true, pretty-print any arrays or objects.
This is a Package::Stash for the namespace. This is intended for internal use.
This is the content of the module's
%EXPORT_TAGS. This is intended for internal use.
This is the JSON encoder. This is intended for internal use.
When using with Const::Fast::Exporter-based modules, you must explicitly list all of the constants to be exported, as that doesn't provide an
@EXPORT_OK variable that can be queried.
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Robert Rothenberg <firstname.lastname@example.org>
This software is Copyright (c) 2020 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)