perl-constant - Define compile-time constants

Property Value
Distribution ROSA Enterprise Desktop
Repository ROSA Contrib Updates x86_64
Package name perl-constant
Package version 1.210.0
Package release 1-rosa.lts2012.0
Package architecture noarch
Package type rpm
Installed size 24.23 KB
Download size 17.37 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.210.0-1-rosa.lts2012.0.noarch.rpm 1.210.0 noarch ROSA Contrib Updates
perl-constant - - -


Name Value
perl(constant) -
perl-constant == 1.210.0-1:2012.0


Type URL
Binary Package perl-constant-1.210.0-1-rosa.lts2012.0.noarch.rpm
Source Package perl-constant-1.210.0-1.src.rpm

Install Howto

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




2011-04-28 - Guillaume Rousse <> 1.210.0-1mdv2011.0
+ Revision: 659889
- update to new version 1.21
2011-04-17 - Guillaume Rousse <> 1.200.0-1
+ Revision: 653998
- update to new version 1.20
2009-09-14 - J?r?me Quelin <> 1.190.0-1mdv2010.0
+ Revision: 439421
- update to 1.19
2009-08-25 - J?r?me Quelin <> 1.180.0-3mdv2010.0
+ Revision: 420986
- rebuild
- rebuild
- update to 1.18
2009-08-20 - J?r?me Quelin <> 1.180.0-1mdv2010.0
+ Revision: 418638
- update to 1.18
2009-07-28 - J?r?me Quelin <> 1.170.0-1mdv2010.0
+ Revision: 401700
- rebuild using %%perl_convert_version
- fixed license field

See Also

Package Description
perl-criticism-1.20.0-2-rosa.lts2012.0.noarch.rpm Perl pragma to enforce coding standards and best-practices
perl-data-trie-0.10.0-1-rosa.lts2012.0.noarch.rpm An implementation of a letter trie
perl-dnssec-tools-1.5-4-rosa.lts2012.0.x86_64.rpm Perl modules supporting DNSSEC (needed by the dnssec-tools)
perl-encoding-warnings-0.110.0-1-rosa.lts2012.0.noarch.rpm Warn on implicit encoding conversions
perl-ex-lib-0.900.0-2-rosa.lts2012.0.noarch.rpm The same as C<lib>, but makes relative path absolute
perl-forest_utils-0.100.0-1-rosa.lts2012.0.noarch.rpm Conversion between various formats for shared derivation forest
perl-forks-0.340.0-2-rosa.lts2012.0.x86_64.rpm Drop-in replacement for Perl threads using fork()
perl-kolab-2.2.4-5-rosa.lts2012.0.x86_64.rpm Perl Modules for use with the Kolab Server
perl-latest-0.30.0-2-rosa.lts2012.0.noarch.rpm Use the latest Perl features
perl-lib-abs-0.920.0-2-rosa.lts2012.0.noarch.rpm Get pathname of current working directory
perl-lib2safe-0.40.0-1-rosa.lts2012.0.noarch.rpm A perl5 interface for 2safe service
perl-libapparmor-2.3-1.1310.3-rosa.lts2012.0.x86_64.rpm AppArmor module for perl
perl-libapreq2-2.130.0-2-rosa.lts2012.0.x86_64.rpm Apache Request Library Perl Glue
perl-minismokebox-0.440.0-2-rosa.lts2012.0.noarch.rpm A backend to App::SmokeBox::Mini
perl-mytop-1.600.0-2-rosa.lts2012.0.noarch.rpm A clone of top for MySQL 3.22.x to 4.x