• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/constant/H19-Jun-2016-286135

t/H19-Jun-2016-3,5521,345

xs/H19-Jun-2016-8559

ChangesH A D12-Jun-2016929 2720

MANIFESTH A D19-Jun-2016230 1312

META.ymlH A D19-Jun-2016614 2423

Makefile.PLH A D19-Jun-20161.5 KiB5649

READMEH A D19-Jun-20161.4 KiB6034

README

1constant::lexical, version 2.0002
2
3This module creates constants in the manner of constant.pm, but
4limits their visibility to the enclosing lexical scope.
5
6
7CHANGES IN THIS RELEASE
8
9This version reverts back to using  Lexical::Sub  for perls 5.18  and
105.20,  since the perl’s built-in lexical sub feature  is  not  stable
11enough before  perl 5.22  (specifically before  v5.21.10-26-gd655d9a),
12and caused WWW::Scripter::Plugin::Ajax to crash.
13
14
15INSTALLATION
16
17The easiest way to install this module is to use the CPAN module or
18the cpan script:
19
20    [sudo] perl -MCPAN -e "install constant::lexical"
21
22    [sudo] cpan constant::lexical
23
24Or you can use the following:
25
26    perl Makefile.PL
27    make
28    make test
29    [sudo] make install
30
31
32DEPENDENCIES
33
34This module requires perl 5.8.0 or later, and depending on your version of
35perl, it may require another module:
36
37• For perl 5.8 to 5.10: Sub::Delete
38• For perl 5.12 to 5.20: Lexical::Sub
39• For perl 5.22 and higher: no other modules
40
41
42DOCUMENTATION
43
44After installing, you can find documentation for these modules with
45the perldoc command.
46
47    perldoc constant::lexical
48
49Or try using man (it's faster, in my experience):
50
51    man constant::lexical
52
53
54COPYRIGHT AND LICENCE
55
56Copyright © 2008, 2010, 2012, 2016 Father Chrysostomos
57
58This program is free software; you may redistribute it, modify it, or
59both, under the same terms as perl.
60