Metadata for perl-constant-1.33-512.el10.noarch.rpm

0 directories 0 files
Go up

INFO

Name: perl-constant
Version: 1.33-512.el10
Arch: noarch
Summary: Perl pragma to declare constants
License: GPL-1.0-or-later OR Artistic-1.0-Perl
Vendor: AlmaLinux
Build Host: s390x-builder01.almalinux.org
Build Date: Sat Dec 14 08:08:35 2024
Size: 26840
URL: https://metacpan.org/release/constant
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.

FILES

/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

REQUIRES

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

PROVIDES

perl(constant) 1.33
perl-constant 1.33-512.el10

CONFIG FILES

/usr/share/doc/perl-constant
/usr/share/doc/perl-constant/Changes d
/usr/share/doc/perl-constant/README d
/usr/share/doc/perl-constant/eg
/usr/share/doc/perl-constant/eg/synopsis.pl d
/usr/share/man/man3/constant.3pm.gz d
/usr/share/perl5/vendor_perl/constant.pm

LICENSE FILES

GPL-1.0-or-later OR Artistic-1.0-Perl