perl-Acme-Lvalue-0.03-alt2.noarch.rpm


Advertisement

Description

perl-Acme-Lvalue - Generalized lvalue subroutines

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Acme-Lvalue
Package version 0.03
Package release alt2
Package architecture noarch
Package type rpm
Installed size 5.25 KB
Download size 5.25 KB
Official Mirror ftp.altlinux.org
This module makes a number of perl builtins return lvalues, letting you assign
to them. This lets you do things like:
reverse(hex $x) = '9558295373';
When you load this module, you can pass a list of 0 or more import
specifications. If you don't pass any, nothing is exported. Every import
specification must be one of the following:
=over
=item * The string `:builtins'.
This overrides the following builtins:
`chr',
`cos',
`defined',
`exp',
`hex',
`length',
`log',
`oct',
`ord',
`quotemeta',
`reverse',
`sin',
`sqrt'.
=item * Any of the builtins listed above.
This lets you pick and choose which builtins to override.
=item * An array reference of the form [*NAME*, *CODEREF_1*, *CODEREF_2*].
This lets you create customized invertible lvalue functions. *NAME* is the
name of the function that should be generated, *CODEREF_1* is the
implementation that should be called by the function, and *CODEREF_2* is the
inverse operation that should be called when the result is assigned to.
That is, after `use Acme::Lvalue ['foo', $REF_1, $REF_2]', using `foo($x)' as
normal is equivalent to `$REF_1->($x)' while using `foo($x) = $y' is
equivalent to `$x = $REF_2->($y)'.
Example:
use Acme::Lvalue ['succ', sub { $_[0] + 1 }, sub { $_[0] - 1 }];
my $x = succ 4;  # $x == 5
succ($x) = 43;   # $x == 42
=back

Alternatives

Package Version Architecture Repository
perl-Acme-Lvalue - - -

Requires

Name Value
/usr/share/perl5 -
perl(Math/Trig.pm) -
perl-base >= 1:5.16.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Acme/Lvalue.pm) -
perl-Acme-Lvalue = 0.03-alt2

Download

Type URL
Binary Package perl-Acme-Lvalue-0.03-alt2.noarch.rpm
Source Package perl-Acme-Lvalue-0.03-alt2.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 noarch 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-Acme-Lvalue rpm package:
    # sudo apt-get install perl-Acme-Lvalue

Files

Path
/usr/share/doc/perl-Acme-Lvalue-0.03/Changes
/usr/share/doc/perl-Acme-Lvalue-0.03/README
/usr/share/perl5/Acme/Lvalue.pm

See Also

Package Description
perl-Acme-MARVIN-0.01-alt1.noarch.rpm The great new Acme::MARVIN!
perl-Acme-MJD-0.02-alt1.noarch.rpm Mark Jason Dominus does perl
perl-Acme-MJD-FR-0.01-alt1.noarch.rpm perl module Acme-MJD-FR
perl-Acme-MUDLike-0.04-alt1.noarch.rpm Hang out inside of your application
perl-Acme-Machi-1.00.1-alt1.noarch.rpm Awesome Machi here!
perl-Acme-Madness-1.00-alt1.noarch.rpm perl module Acme-Madness
perl-Acme-MadokaMagica-0.07-alt1.noarch.rpm It's new $module
perl-Acme-Magic-Pony-0.03-alt1.noarch.rpm Schwern asked for a Magic Pony!
perl-Acme-Magic8Ball-1.3-alt1.noarch.rpm ask the Magic 8 Ball a question
perl-Acme-Magpie-0.06-alt1.noarch.rpm perl module Acme-Magpie
perl-Acme-Mahjong-Rule-CC-0.22-alt1.noarch.rpm Exchange Tables for a Classic Chinese Version of Mahjong
perl-Acme-MakeMoneyAtHome-1.004001-alt1.noarch.rpm I made 17047 dollars just posting Acme dists to CPAN
perl-Acme-Mandolion-Utils-0.01-alt1.noarch.rpm The great new Acme::Mandolion::Utils!
perl-Acme-ManekiNeko-0.03-alt1.noarch.rpm perl module Acme-ManekiNeko
perl-Acme-Math-Google-0.02-alt1.noarch.rpm perl module Acme-Math-Google
Advertisement
Advertisement