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

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


Branch: pkgsrc-2012Q1, Version: 1.21, Package name: p5-constant-1.21, 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: 5b34a3d5f31946d34c01a08beddeceddfabd628d
RMD160: ddfe5f4ec2cbc843978c054c2f15af13085a834c
Filesize: 14.105 KB

Version history: (Expand)