Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-constant | Distribution: Mageia |
Version: 1.330.0 | Vendor: Mageia.Org |
Release: 6.mga9 | Build date: Sun Mar 20 04:52:07 2022 |
Group: Development/Perl | Build host: localhost |
Size: 30218 | Source RPM: perl-constant-1.330.0-6.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/constant | |
Summary: Define compile-time constants |
This pragma allows you to declare constants at compile-time. When you declare a constant such as 'PI' using the method shown above, each machine your script runs upon can have as many digits of accuracy as it can use. Also, your program will be easier to 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 '3.14195'. 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.
GPL+ or Artistic
* Sun Mar 20 2022 umeabot <umeabot> 1.330.0-6.mga9 + Revision: 1802565 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-constant /usr/share/doc/perl-constant/Changes /usr/share/doc/perl-constant/META.json /usr/share/doc/perl-constant/META.yml /usr/share/doc/perl-constant/MYMETA.yml /usr/share/doc/perl-constant/README /usr/share/man/man3/constant.3pm.xz /usr/share/perl5/vendor_perl/constant.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Dec 26 12:04:42 2024