File:  [cvs.NetBSD.org] / pkgsrc / devel / p5-constant / Attic / DESCR
Revision 1.1: download - view: text, annotated - select for diffs
Sun Oct 18 09:16:48 2009 UTC (15 years, 1 month ago) by sno
Branches: MAIN
CVS tags: HEAD
Initial revision

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.

CVSweb <webmaster@jp.NetBSD.org>