perl-constant - Define compile-time constants

Property Value
Distribution Mageia 4.1
Repository Mageia Core i586
Package name perl-constant
Package version 1.270.0
Package release 2.mga4
Package architecture noarch
Package type rpm
Installed size 27.60 KB
Download size 18.81 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.270.0-2.mga4.noarch.rpm 1.270.0 noarch Mageia Core
perl-constant - - -


Name Value
perl(Test::More) -
perl-base >= 2:5.18.1


Name Value
perl(constant) -
perl-constant == 1.270.0-2.mga4


Type URL
Binary Package perl-constant-1.270.0-2.mga4.noarch.rpm
Source Package perl-constant-1.270.0-2.mga4.src.rpm

Install Howto

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




2013-10-21 - umeabot <umeabot> 1.270.0-2.mga4
+ Revision: 536963
- Mageia 4 Mass Rebuild
2013-09-25 - sander85 <sander85> 1.270.0-1.mga4
+ Revision: 486029
- update to 1.27
2013-03-27 - jquelin <jquelin> 1.240.0-3.mga3
+ Revision: 405589
- perl 5.16.3 rebuild
2013-01-13 - umeabot <umeabot> 1.240.0-2.mga3
+ Revision: 375426
- Mass Rebuild -
2013-01-08 - jquelin <jquelin> 1.240.0-1.mga3
+ Revision: 341870
- update to 1.24
+ kharec <kharec>
- update to 1.21
2011-06-11 - spuhler <spuhler> 1.190.0-2.mga2
+ Revision: 104029
- increase rel for rebuild
2011-01-18 - jquelin <jquelin> 1.190.0-1.mga1
+ Revision: 22210
- cleaning spec file
- imported package perl-constant

See Also

Package Description
perl-constant-defer-5.0.0-4.mga4.noarch.rpm No summary found
perl-criticism-1.20.0-4.mga4.noarch.rpm Perl pragma to enforce coding standards and best-practices
perl-data-trie-0.10.0-4.mga4.noarch.rpm An implementation of a letter trie
perl-deltarpm-3.6-3.mga4.i586.rpm Tools to Create and Apply deltarpms
perl-devel-5.18.1-3.mga4.i586.rpm The Perl programming language (devel)
perl-doc-5.18.1-3.mga4.noarch.rpm The Perl programming language (documentation)
perl-ekg2-0.3.1-10.mga4.i586.rpm Perl scripting plugin for ekg2
perl-encoding-warnings-0.110.0-4.mga4.noarch.rpm Warn on implicit encoding conversions
perl-enum-1.50.0-2.mga4.noarch.rpm Resemble enumerated types in C
perl-everywhere-0.70.0-3.mga4.noarch.rpm Use a module (or feature) everywhere
perl-ex-lib-0.900.0-4.mga4.noarch.rpm The same as C<lib>, but makes relative path absolute
perl-experimental-0.5.0-2.mga4.noarch.rpm Experimental features made easy
perl-forks-0.340.0-10.mga4.i586.rpm Drop-in replacement for Perl threads using fork()
perl-graphviz-2.34.0-6.mga4.i586.rpm Graphviz bindings for perl
perl-hivex-1.3.8-2.mga4.i586.rpm Perl bindings for hivex