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: 501.fc39 | Build date: Fri Jul 21 05:49:30 2023 |
Group: Unspecified | Build host: buildvm-x86-06.iad2.fedoraproject.org |
Size: 26840 | Source RPM: perl-constant-1.33-501.fc39.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
* 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 * Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-489 - Perl 5.36 re-rebuild of bootstrapped packages * Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-488 - Increase release to favour standalone package * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-480 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-479 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_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 9 22:23:46 2024