constant::lexical, version 2.0002
This module creates constants in the manner of constant.pm, but
limits their visibility to the enclosing lexical scope.
CHANGES IN THIS RELEASE
For perl 5.18.0 and higher, constant::lexical now uses perl’s built-
in lexical subroutine feature, and no longer requires Lexical::Sub.
INSTALLATION
The easiest way to install this module is to use the CPAN module or
the cpan script:
[sudo] perl -MCPAN -e "install constant::lexical"
[sudo] cpan constant::lexical
Or you can use the following:
perl Makefile.PL
make
make test
[sudo] make install
DEPENDENCIES
This module requires perl 5.8.0 or later, and depending on your version of
perl, it may require another module:
• For perl 5.8 to 5.10: Sub::Delete
• For perl 5.12 to 5.16: Lexical::Sub
• For perl 5.18 and higher: no other modules
DOCUMENTATION
After installing, you can find documentation for these modules with
the perldoc command.
perldoc constant::lexical
Or try using man (it's faster, in my experience):
man constant::lexical
COPYRIGHT AND LICENCE
Copyright (C) 2008, 2010, 2012, 2016 Father Chrysostomos
This program is free software; you may redistribute it, modify it, or
both, under the same terms as perl.