perl-Array-Each-Override-0.05-alt3.1.i586.rpm


Advertisement

Description

perl-Array-Each-Override - `each' for iterating over an array's keys and values

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Array-Each-Override-0.05-alt3.1.i586.rpm
Package name perl-Array-Each-Override
Package version 0.05
Package release alt3.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 20.51 KB
Installed size 20.51 KB
This module provides new implementations of three core functions: `each',
`values', and `keys'.
=over 4
=item `each'
The core `each' function iterates over a hash; each time it's called, it
returns a 2-element list of a key and value in the hash.  The new version of
`each' does not change the behaviour of `each' when called on a hash.
However, it also allows you to call `each' on array.  Each time it's called,
it returns a 2-element list of the next uniterated index in the the array, and
the value at that index.
When the array is entirely iterated, an empty list is returned in list context.
The next call to array `each' after that will start iterating again.
=item `keys'
The core `keys' function returns a list of the keys in a hash, or a count of
the keys in a hash when called in scalar context.  The new version of `keys'
does not change the behaviour of `keys' when called on a hash.  However, it
also allows you to call `keys' on an array.
In list context, `keys @array' returns a list of the indexes in the array; in
scalar context, it returns the number of elements in the array.
=item `values'
The core `values' function returns a list of the values in a hash, or a count
of the values in a hash when called in scalar context.  The new version of
`values' does not change the behaviour of `values' when called on a hash.
However, it also allows you to call `values' on an array.
In list context, `values @array' returns a list of the elements in the array;
in scalar context, it returns the number of elements in the array.
=back
There is a single iterator for each array, shared by all `each', `keys', and
`values' calls in the program.  It can be reset by reading all the elements
from the iterator with `each', or by evaluating `keys @array' or `values
@array'.

Alternatives

Package Version Architecture Repository
perl-Array-Each-Override-0.05-alt3.1.x86_64.rpm 0.05 x86_64 Autoimports
perl-Array-Each-Override - - -

Requires

Name Value
/usr/lib/perl5 -
libperl-5.28.so -
perl(Scalar/Util.pm) -
perl(XSLoader.pm) -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(Array/Each/Override.pm) = 0.050
perl-Array-Each-Override = 0.05-alt3.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Array-Each-Override-0.05-alt3.1.i586.rpm
Source Package perl-Array-Each-Override-0.05-alt3.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Array-Each-Override rpm package:
    # sudo apt-get install perl-Array-Each-Override

Files

Path
/usr/lib/perl5/Array/
/usr/lib/perl5/Array/Each/Override.pm
/usr/lib/perl5/auto/Array/
/usr/lib/perl5/auto/Array/Each/
/usr/lib/perl5/auto/Array/Each/Override/Override.so
/usr/share/doc/perl-Array-Each-Override-0.05/Changes
/usr/share/doc/perl-Array-Each-Override-0.05/README

See Also

Package Description
perl-Array-Heap-3.22-alt4.1.i586.rpm treat perl arrays as binary heaps/priority queues
perl-Array-Heap2-1.1-alt4.1.i586.rpm perl module Array-Heap2
perl-Array-Shuffle-0.03-alt4.1.i586.rpm fast shuffling of arrays in-place
perl-Array-Slice-0.03-alt4.1.i586.rpm context-dependent array iterator
perl-Array-Splice-0.04-alt4.1.i586.rpm Splice aliases into arrays
perl-Arrays-Same-0.002-alt1.i586.rpm Test if two arrays are identical
perl-Astro-FITS-CFITSIO-1.12-alt3_4.i586.rpm Perl extension for using the cfitsio library
perl-Astro-Hipparcos-0.09-alt4.1.i586.rpm Perl extension for reading the Hipparcos star catalog
perl-Astro-MapProjection-0.01-alt4.1.i586.rpm A few simple map projections (Hammer, sinusoidal, ...)
perl-Astro-Nova-0.07-alt4.1.i586.rpm Perl interface to libnova
perl-Astro-PAL-1.08-alt1.i586.rpm Perl interface to Starlink PAL positional astronomy library
perl-Astro-PAL-scripts-1.08-alt1.i586.rpm Astro-PAL scripts
perl-Attribute-Storage-0.09-alt4.1.i586.rpm declare and retrieve named attributes about CODE
perl-Audio-AMaMP-0.3-alt4.1.i586.rpm perl module Audio-AMaMP
perl-Audio-C4Stream-Mixer-1.01-alt4.1.i586.rpm perl module Audio-C4Stream-Mixer
Advertisement
Advertisement