Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-constant | Distribution: CentOS |
Version: 1.33 | Vendor: CentOS |
Release: 511.el10 | Build date: Fri Aug 9 11:49:59 2024 |
Group: Unspecified | Build host: ppc64le-07.stream.rdu2.redhat.com |
Size: 26840 | Source RPM: perl-constant-1.33-511.el10.src.rpm |
Packager: builder@centos.org | |
Url: https://metacpan.org/release/constant | |
Summary: Perl pragma to declare constants |
This pragma allows you to declare constants at compile-time: use constant PI => 4 * atan2(1, 1); 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-1.0-or-later OR Artistic-1.0-Perl
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-511 - Perl 5.40 re-rebuild of bootstrapped packages * Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-510 - Increase release to favour standalone package * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.33-504 - Bump release for June 2024 mass rebuild * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-503 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-502 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-501 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-500 - Perl 5.38 re-rebuild of bootstrapped packages * Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-499 - Increase release to favour standalone package * Mon May 22 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-492 - Modernize spec - Package tests * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-491 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
/usr/share/doc/perl-constant /usr/share/doc/perl-constant/Changes /usr/share/doc/perl-constant/README /usr/share/doc/perl-constant/eg /usr/share/doc/perl-constant/eg/synopsis.pl /usr/share/man/man3/constant.3pm.gz /usr/share/perl5/vendor_perl/constant.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Dec 17 08:53:23 2024