perl-Lexical-Var - Static variables without namespace pollution

Property Value
Distribution Mageia 4.1
Repository Mageia Core i586
Package name perl-Lexical-Var
Package version 0.9.0
Package release 2.mga4
Package architecture i586
Package type rpm
Installed size 51.71 KB
Download size 28.82 KB
Official Mirror
This module implements lexical scoping of static variables and
subroutines.  Although it can be used directly, it is mainly intended
to be infrastructure for modules that manage namespaces.
This module influences the meaning of single-part variable names that
appear directly in code, such as "$foo".  Normally, in the absence of any
particular declaration, or under the effect of an "our" declaration, this
would refer to the scalar variable of that name located in the current
package.  A "Lexical::Var" declaration can change this to refer to any
particular scalar, bypassing the package system entirely.  A variable
name that includes an explicit package part, such as "$main::foo", always
refers to the variable in the specified package, and is unaffected by this
module.  A symbolic reference through a string value, such as "${'foo'}",
also looks in the package system, and so is unaffected by this module.
The types of name that can be influenced are scalar ("$foo"), array
("@foo"), hash ("%foo"), subroutine ("&foo"), and glob ("*foo").
A definition for any of these names also affects code that logically
refers to the same entity, even when the name is spelled without its
usual sigil.  For example, any definition of "@foo" affects element
references such as "$foo[0]".  Barewords in filehandle context actually
refer to the glob variable.  Bareword references to subroutines, such as
"foo(123)", only work on Perl 5.11.2 and later; on earlier Perls you
must use the "&" sigil, as in "&foo(123)".
Where a scalar name is defined to refer to a constant (read-only) scalar,
references to the constant through the lexical namespace can participate
in compile-time constant folding.  This can avoid the need to check
configuration values (such as whether debugging is enabled) at runtime.
A name definition supplied by this module takes effect from the end
of the definition statement up to the end of the immediately enclosing
block, except where it is shadowed within a nested block.  This is the
same lexical scoping that the "my", "our", and "state" keywords supply.
Definitions from Lexical::Var and from "my"/"our"/"state" can shadow
each other.  These lexical definitions propagate into string "eval"s,
on Perl versions that support it (5.9.3 and later).
This module only manages variables of static duration (the kind of
duration that "our" and "state" variables have).  To get a fresh variable
for each invocation of a function, use "my".


Package Version Architecture Repository
perl-Lexical-Var-0.9.0-2.mga4.x86_64.rpm 0.9.0 x86_64 Mageia Core
perl-Lexical-Var - - -


Name Value - - - -
perl(Lexical::SealRequireHints) >= 0.6.0
perl(XSLoader) -
perl(strict) -
perl(warnings) -
perl-base >= 2:5.18.1
perlapi-5.18.1 -


Name Value -
perl(Lexical::Sub) == 0.9.0
perl(Lexical::Var) == 0.9.0
perl-Lexical-Var == 0.9.0-2.mga4
perl-Lexical-Var(x86-32) == 0.9.0-2.mga4


Type URL
Binary Package perl-Lexical-Var-0.9.0-2.mga4.i586.rpm
Source Package perl-Lexical-Var-0.9.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-Lexical-Var rpm package:
    # urpmi perl-Lexical-Var




2013-10-19 - umeabot <umeabot> 0.9.0-2.mga4
+ Revision: 533202
- Mageia 4 Mass Rebuild
2013-08-26 - sander85 <sander85> 0.9.0-1.mga4
+ Revision: 471988
- update to 0.009
2013-08-19 - sander85 <sander85> 0.8.0-1.mga4
+ Revision: 467881
- imported package perl-Lexical-Var

See Also

Package Description
perl-Libconf-0.42.10-6.mga4.i586.rpm Configuration file abstraction layer
perl-Libconf-devel-0.42.10-6.mga4.i586.rpm Libconf devel
perl-Libconf-gui-0.42.10-6.mga4.i586.rpm Graphic User Interface generator for any libconf module
perl-Libconf-samples-0.42.10-6.mga4.i586.rpm Set of examples programs using libconf
perl-Libgenders-1.20-3.mga4.i586.rpm Genders interface
perl-Lingua-EN-FindNumber-1.200.0-3.mga4.noarch.rpm Locate (written) numbers in English text
perl-Lingua-EN-Inflect-1.895.0-3.mga4.noarch.rpm Perl module to find English word inflections
perl-Lingua-EN-Inflect-Number-1.100.0-3.mga4.noarch.rpm Force number of words to singular or plural
perl-Lingua-EN-Inflect-Phrase-0.180.0-2.mga4.noarch.rpm Inflect short English Phrases
perl-Lingua-EN-NameParse-1.310.0-2.mga4.noarch.rpm Manipulate persons name
perl-Lingua-EN-Number-IsOrdinal-0.40.0-2.mga4.noarch.rpm Detect if English number is ordinal or cardinal
perl-Lingua-EN-Numbers-Ordinate-1.20.0-3.mga4.noarch.rpm Go from cardinal number (3) to ordinal ("3rd")
perl-Lingua-EN-Tagger-0.240.0-2.mga4.i586.rpm Part-of-speech tagger for English natural language processing
perl-Lingua-EN-Words2Nums-0.180.0-3.mga4.noarch.rpm Convert English text to numbers
perl-Lingua-Features-0.3.1-7.mga4.noarch.rpm Natural languages features