PerlX::Define - cute syntax for defining constants
use PerlX::Define; define PI = 3.2;
PerlX::Define is a yet another module for defining constants.
Constants defined this way, aren't "better" than the constants defined any other way, but the syntax is cute.
PerlX::Define is currently distributed as part of Moops, but is fairly independent of the rest of it, and may be spun off as a separate release in the future.
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Moops.
constant.
Moops.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2013-2014 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install Moops, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moops
CPAN shell
perl -MCPAN -e shell install Moops
For more information on module installation, please visit the detailed CPAN module installation guide.