Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-constant | Distribution: Fedora Project |
Version: 1.33 | Vendor: Fedora Project |
Release: 511.fc41 | Build date: Wed Jun 12 09:28:03 2024 |
Group: Unspecified | Build host: buildhw-x86-12.iad2.fedoraproject.org |
Size: 26840 | Source RPM: perl-constant-1.33-511.fc41.src.rpm |
Packager: Fedora Project | |
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
* Wed Jun 12 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-511 - Perl 5.40 re-rebuild of bootstrapped packages * Mon Jun 10 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-510 - Increase release to favour standalone package * 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 * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-490 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_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 Jul 23 00:08:54 2024