perl-Defined-KV-0.001-alt1.noarch.rpm


Advertisement

Description

perl-Defined-KV - Create a KV pair, but only if the value is defined

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Defined-KV
Package version 0.001
Package release alt1
Package architecture noarch
Package type rpm
Installed size 20.21 KB
Download size 20.21 KB
Official Mirror ftp.altlinux.org
`Defined::KV' exports a single function, `defined_kv'. Call it with two arguments. If the second argument is defined, both are returned, otherwise nothing is returned.
This exists to replace this construct:
(defined $v ? ($k => $v) : ())
with something less awkward and repetetive, namely:
defined_kv($k => $v)

Alternatives

Package Version Architecture Repository
perl-Defined-KV - - -

Requires

Name Value
/usr/share/perl5 -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Defined/KV.pm) = 0.001
perl-Defined-KV = 0.001-alt1

Download

Type URL
Binary Package perl-Defined-KV-0.001-alt1.noarch.rpm
Source Package perl-Defined-KV-0.001-alt1.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-Defined-KV rpm package:
    # sudo apt-get install perl-Defined-KV

Files

Path
/usr/share/doc/perl-Defined-KV-0.001/Changes
/usr/share/doc/perl-Defined-KV-0.001/LICENSE
/usr/share/doc/perl-Defined-KV-0.001/README
/usr/share/perl5/Defined/KV.pm

See Also

Package Description
perl-DelayLine-0.02-alt1.noarch.rpm perl module DelayLine
perl-Deliantra-2.01-alt1.noarch.rpm perl module Deliantra
perl-Deliantra-scripts-2.01-alt1.noarch.rpm Deliantra scripts
perl-Dependencies-Searcher-0.065-alt1.noarch.rpm Search recursively dependencies used in a module's
perl-Dependency-Resolver-0.07-alt1.noarch.rpm dependency resolution algorithm
perl-DesignPattern-Factory-0.01-alt1.noarch.rpm perl module DesignPattern-Factory
perl-Desktop-Detect-0.06-alt1.noarch.rpm Detect desktop environment currently running
perl-Desktop-Detect-scripts-0.06-alt1.noarch.rpm Desktop-Detect scripts
perl-Desktop-Notify-0.05-alt1.noarch.rpm Communicate with the Desktop Notifications framework
perl-Detect-Module-1.2-alt1.noarch.rpm allows to autodetect Perl modules
perl-Dev-Bollocks-0.06-alt1.noarch.rpm Arbitrary sized bollocks straight from middle management
perl-Devel-Animator-2.30-alt2.noarch.rpm trace based source code animator
perl-Devel-AssertOS-OSFeatures-SupportsSiebel-0.01-alt1.noarch.rpm Perl extension to test if an OS is supported by Siebel CRM
perl-Devel-CallStack-0.19-alt1.noarch.rpm perl module Devel-CallStack
perl-Devel-CallTrace-1.2-alt1.noarch.rpm See what your code's doing
Advertisement
Advertisement