perl-constant - Define compile-time constants

Property Value
Distribution ROSA 2014.1
Repository ROSA Contrib x86_64
Package name perl-constant
Package version 1.270.0
Package release 3-rosa2014.1
Package architecture noarch
Package type rpm
Installed size 25.10 KB
Download size 17.36 KB
Official Mirror
This pragma allows you to declare constants at compile-time.
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.


Package Version Architecture Repository
perl-constant-1.330.0-2-rosa2014.1.noarch.rpm 1.330.0 noarch ROSA Contrib Updates
perl-constant-1.330.0-2-rosa2014.1.noarch.rpm 1.330.0 noarch ROSA Contrib Updates
perl-constant-1.270.0-3-rosa2014.1.noarch.rpm 1.270.0 noarch ROSA Contrib
perl-constant - - -


Name Value
perl(abi) >= 5.18.2


Name Value
perl(constant) -
perl-constant == 1.270.0-3:2014.1


Type URL
Binary Package perl-constant-1.270.0-3-rosa2014.1.noarch.rpm
Source Package perl-constant-1.270.0-3.src.rpm

Install Howto

  1. Enable ROSA Contrib repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-constant rpm package:
    # urpmi perl-constant




2014-07-25 - Denis Silakov <> 1.270.0-3
+ Revision: 4fa92cc
- MassBuild#464: Increase release tag

See Also

Package Description
perl-criticism-1.20.0-5-rosa2014.1.noarch.rpm Perl pragma to enforce coding standards and best-practices
perl-data-trie-0.10.0-4-rosa2014.1.noarch.rpm An implementation of a letter trie
perl-digidoc-0.3.0-7-rosa2014.1.x86_64.rpm Perl bindings for libdigidocpp
perl-dnssec-tools-2.0-2-rosa2014.1.x86_64.rpm Perl modules supporting DNSSEC (needed by the dnssec-tools)
perl-encoding-warnings-0.110.0-4-rosa2014.1.noarch.rpm Warn on implicit encoding conversions
perl-ex-lib-0.900.0-5-rosa2014.1.noarch.rpm The same as C<lib>, but makes relative path absolute
perl-forks-0.350.0-2-rosa2014.1.x86_64.rpm Drop-in replacement for Perl threads using fork()
perl-hamlib- Hamlib radio control library Perl binding
perl-kolab-2.2.4-10-rosa2014.1.x86_64.rpm Perl Modules for use with the Kolab Server
perl-latest-0.30.0-4-rosa2014.1.noarch.rpm Use the latest Perl features
perl-lib-abs-0.930.0-3-rosa2014.1.noarch.rpm Get pathname of current working directory
perl-lib2safe-0.50.0-2-rosa2014.1.noarch.rpm A perl5 interface for 2safe service
perl-libapparmor-2.3-1.1310.7-rosa2014.1.x86_64.rpm AppArmor module for perl
perl-libapreq2-2.130.0-6-rosa2014.1.x86_64.rpm Apache Request Library Perl Glue
perl-local-lib-2.0.11-3-rosa2014.1.noarch.rpm Create and use a local lib/ for perl modules with PERL5LIB