libperlx-define-perl

cute syntax for defining constants

Description

PerlX::Define is a yet another module for defining constants.

Differences from constant.pm:

 * Cute syntax.
   Like constant.pm, constants get defined at compile time,
   not run time.
 * Requires Perl 5.12 or above.
   If you're lucky enough to be able to free yourself
   from the shackles of supporting decade-old versions of Perl,
   PerlX::Define is your friend.
 * Only supports scalar constants.
   List constants are rarely useful.
   Your constant can of course be a reference to an array or hash,
   but this module doesn't attempt
   to make the referred-to structure read only.
 * Doesn't try to handle some of the things constant.pm does
   like declaring constants using fully-qualified names,
   or defining constants pointing at magic scalars.

Prior to version 0.100, PerlX::Define was bundled with Moops.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/PerlX-Define


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libperlx-define-perl