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: 461.el9 | Build date: Tue Aug 10 04:32:26 2021 |
Group: Unspecified | Build host: aarch64-03.stream.rdu2.redhat.com |
Size: 27104 | Source RPM: perl-constant-1.33-461.el9.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+ or Artistic
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.33-461 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.33-460 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-459 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-458 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-457 - Perl 5.32 re-rebuild of bootstrapped packages * Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-456 - Increase release to favour standalone package * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-441 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_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:35:36 2024