./devel/p5-constant, Perl pragma to declare constants

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2010Q3, Version: 1.19nb1, Package name: p5-constant-1.19nb1, Maintainer: pkgsrc-users

This pragma allows constants to be declared at compile-time.

When a constant is used in an expression, Perl replaces it with its value at
compile time, and may then optimize the expression further. In particular,
any code in an if (CONSTANT) block will be optimized away if the constant
is false.


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: 485e636482214ea30a5696aba1f708d0d3c9b57c
RMD160: e331d400f399472937d68a6253af6d4369392ae8
Filesize: 13.46 KB

Version history: (Expand)