From: Sébastien Aperghis-Tramoni Date: Sun, 21 Sep 2008 16:13:36 +0000 (+0200) Subject: Fwd: CPAN Upload: S/SA/SAPER/constant-1.16.tar.gz X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d3383c753168a06bd659309ea5abfd8c6dcc7a08;p=p5sagit%2Fp5-mst-13.2.git Fwd: CPAN Upload: S/SA/SAPER/constant-1.16.tar.gz Message-Id: <5B1668F5-06FA-4104-9966-9727E880C533@free.fr> p4raw-id: //depot/perl@34385 --- diff --git a/lib/constant.pm b/lib/constant.pm index 2c83553..53d99d5 100644 --- a/lib/constant.pm +++ b/lib/constant.pm @@ -4,7 +4,7 @@ use strict; use warnings::register; use vars qw($VERSION %declared); -$VERSION = '1.15'; +$VERSION = '1.16'; #======================================================================= @@ -168,7 +168,7 @@ read, more likely to be maintained (and maintained correctly), and far less likely to send a space probe to the wrong planet because nobody noticed the one equation in which you wrote C<3.14195>. -When a constant is used in an expression, perl replaces it with its +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 C block will be optimized away if the constant is false. @@ -331,6 +331,20 @@ immediately to its left, you have to say C<< CONSTANT() => 'value' >> (or simply use a comma in place of the big arrow) instead of C<< CONSTANT => 'value' >>. +=head1 SEE ALSO + +L - Facility for creating read-only scalars, arrays, hashes. + +L - Facility for creating read-only variables. Similar to C, +but uses C instead of C. + +L - Make read-only variables via attribute + +L - Perl extension to the C scalar flag + +L - A selection of general-utility hash subroutines (mostly +to lock/unlock keys and values) + =head1 BUGS Please report any bugs or feature requests via the perlbug(1) utility. @@ -350,7 +364,7 @@ This program is maintained by the Perl 5 Porters. The CPAN distribution is maintained by SEbastien Aperghis-Tramoni EFE. -=head1 COPYRIGHT +=head1 COPYRIGHT & LICENSE Copyright (C) 1997, 1999 Tom Phoenix