Sun, 08 Nov 2026 08:03:23 UTC Log in
Perl pragma to declare constants built by guoguo completed Sat, 17 Oct 2026 02:55:49 UTC

Description

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.

RPMs

3 files, 2 arches
src
  • perl-constant-1.33-528.fc45.src.rpm 41.47 KB info · download
noarch
  • perl-constant-1.33-528.fc45.noarch.rpm 22.55 KB info · download
  • perl-constant-tests-1.33-528.fc45.noarch.rpm 12.58 KB info · download

Logs

noarch

Changelog

* Thu Jul 23 2026 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-528
- Perl 5.44 re-rebuild of bootstrapped packages

* Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-527
- Increase release to favour standalone package

* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-523
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild

* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-522
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-521
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild

* Tue Jul 08 2025 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-520
- Perl 5.42 re-rebuild of bootstrapped packages

* Mon Jul 07 2025 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-519
- Increase release to favour standalone package

* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-513
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild