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

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


Branch: pkgsrc-2009Q4, Version: 1.19, Package name: p5-constant-1.19, 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.


Master sites: (Expand)

SHA1: 485e636482214ea30a5696aba1f708d0d3c9b57c
RMD160: e331d400f399472937d68a6253af6d4369392ae8
Filesize: 13.46 KB

Version history: (Expand)