perl-constant-1.270.0-2.mga4.noarch.rpm


Advertisement

Description

perl-constant - Define compile-time constants

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: distrib-coffee.ipsl.jussieu.fr
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.

Alternatives

Provides

  • perl(constant)
  • perl-constant == 1.270.0-2.mga4

    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

    Files

    • /usr/lib/perl5/vendor_perl/5.18.1/constant.pm
    • /usr/share/doc/perl-constant/Changes
    • /usr/share/doc/perl-constant/META.json
    • /usr/share/doc/perl-constant/META.yml
    • /usr/share/doc/perl-constant/MYMETA.yml
    • /usr/share/doc/perl-constant/README
    • /usr/share/doc/perl-constant/eg/synopsis.pl
    • /usr/share/man/man3/constant.3pm.xz

    Changelog

    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 - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

    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

    Advertisement
    Advertisement