Why not adopt me?
NAME
Exporter::Lexical - exporter for lexical subs
VERSION
version 0.01
SYNOPSIS
package My::Exporter;
use Exporter::Lexical -exports => [ 'foo' ]
sub foo { "FOO" }
package MyApp;
{
use My::Exporter;
warn foo(); # FOO
}
warn foo(); # Undefined subroutine &main::foo called
DESCRIPTION
This module allows you to export lexical subs from your exporter module. It is implemented using the new lexical_subs
feature in perl 5.18, so the functions truly are lexical (unlike some of the previous attempts).
This module is quite experimental, and may change a lot in the future as I figure out how it should work. It is very much a proof of concept for the moment.
BUGS
No known bugs.
Please report any bugs through RT: email bug-exporter-lexical at rt.cpan.org
, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Exporter-Lexical.
SEE ALSO
"The 'lexical_subs' feature" in feature
SUPPORT
You can find this documentation for this module with the perldoc command.
perldoc Exporter::Lexical
You can also look for information at:
MetaCPAN
RT: CPAN's request tracker
Github
CPAN Ratings
AUTHOR
Jesse Luehrs <doy@tozt.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License