Mon, 09 Nov 2026 01:36:13 UTC Log in
Perl pragma to declare constants 22.55 KB built 2026-10-17 02:55:29 GMT

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.

Dependencies

11 total
Requires9
  • perl(:VERSION) >= 5.8.0
  • perl(Carp)
  • perl(strict)
  • perl(warnings::register)
  • perl-libs
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
  • perl(constant) = 1.33
  • perl-constant = 1.33-528.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

7
Files 1–7 of 7

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-56367-981 2026-11-03 14:41:41 expired
f45-build-56355-978 2026-11-03 13:26:55 expired
f45-build-56339-974 2026-10-30 16:48:35 expired
f45-build-56337-973 2026-10-30 16:32:29 expired
f45-build-56333-973 2026-10-30 16:17:16 expired
f45-build-56323-972 2026-10-30 15:44:45 expired
f45-build-56317-970 2026-10-30 15:18:18 expired
f45-build-56315-970 2026-10-30 15:17:17 expired
f45-build-56298-969 2026-10-30 15:00:10 expired
f45-build-56292-969 2026-10-30 14:59:10 expired
f45-build-56261-968 2026-10-30 14:46:48 expired
f45-build-56259-968 2026-10-30 14:46:45 expired
f45-build-56258-968 2026-10-30 14:45:55 expired
f45-build-56215-968 2026-10-30 14:38:33 expired
f45-build-56213-967 2026-10-30 14:34:31 expired
f45-build-56211-967 2026-10-30 14:34:31 expired
f45-build-56207-967 2026-10-30 14:33:27 expired
f45-build-56186-967 2026-10-30 14:30:38 expired
f45-build-56184-967 2026-10-30 14:30:30 expired
f45-build-56143-966 2026-10-30 14:16:15 expired
f45-build-56138-966 2026-10-30 14:05:19 expired
f45-build-56134-966 2026-10-30 14:03:52 expired
f45-build-56121-966 2026-10-30 14:01:48 expired
f45-build-56112-966 2026-10-30 14:00:04 expired
f45-build-56111-966 2026-10-30 14:00:04 expired
f45-build-56107-966 2026-10-30 14:00:03 expired
f45-build-56106-966 2026-10-30 14:00:03 expired
f45-build-56105-966 2026-10-30 14:00:03 expired
f45-build-56100-966 2026-10-30 14:00:02 expired
f45-build-56095-966 2026-10-30 14:00:01 expired
f45-build-56094-966 2026-10-30 14:00:01 expired
f45-build-56093-966 2026-10-30 14:00:01 expired
f45-build-56079-966 2026-10-30 13:58:50 expired
f45-build-56045-963 2026-10-30 13:27:32 expired
f45-build-56044-963 2026-10-30 13:26:35 expired
f45-build-56042-963 2026-10-30 13:26:30 expired
f45-build-56040-963 2026-10-30 13:25:36 expired
f45-build-56039-963 2026-10-30 13:25:33 expired
f45-build-56027-961 2026-10-30 13:00:17 expired
f45-build-56025-961 2026-10-30 13:00:16 expired
f45-build-56024-961 2026-10-30 13:00:12 expired
f45-build-56023-961 2026-10-30 13:00:10 expired
f45-build-56009-960 2026-10-30 12:50:00 expired
f45-build-56008-960 2026-10-30 12:48:02 expired
f45-build-56007-960 2026-10-30 12:47:55 expired
f45-build-56006-960 2026-10-30 12:47:55 expired
f45-build-56005-960 2026-10-30 12:47:51 expired
f45-build-56004-960 2026-10-30 12:47:51 expired
f45-build-56003-960 2026-10-30 12:47:01 expired
f45-build-55993-960 2026-10-30 12:45:56 expired
Buildroots 1–50 of 2230 Next →
of 45