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

PERLANCAR::Exporter::Lite - A stripped down Exporter

VERSION

This document describes version 0.02 of PERLANCAR::Exporter::Lite (from Perl distribution PERLANCAR-Exporter-Lite), released on 2016-03-13.

SYNOPSIS

In lib/YourModule.pm:

 package YourModule;
 use PERLANCAR::Exporter::Lite qw(import);
 our @EXPORT = qw(...);
 our @EXPORT_OK = qw(...);

DESCRIPTION

This is a stripped down exporter module, to achieve the smallest startup overhead (see Bencher::Scenario::Exporters::Startup for benchmark). This is what I think Exporter::Lite should be.

This module offers only some features of Exporter: default exports via @EXPORT and optional exports via @EXPORT_OK. You can only use this exporter by importing its import and not by subclassing. There is no support for export tags, export_to_level, etc.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/PERLANCAR-Exporter-Lite.

SOURCE

Source repository is at https://github.com/perlancar/perl-PERLANCAR-Exporter-Lite.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=PERLANCAR-Exporter-Lite

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.

SEE ALSO

Exporter

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.