perl-Data-LNPath-0.08-alt1.noarch.rpm


Advertisement

Description

perl-Data-LNPath - lookup on nested data via path

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-LNPath-0.08-alt1.noarch.rpm
Package name perl-Data-LNPath
Package version 0.08
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 11.12 KB
Installed size 11.12 KB
use Data::LNPath qw/lnpath/ => {
__errors => {
___invalid_key => \&invalid_key,
___invalid_index => \&invalid_index,
___invalid_method => \&invalid_method,,
___allow_meth_keys => undef
__}
_};
_my $data = {
__one => {
___a => [qw/10 20 30/],
___b => { a => 10, b => 20, c => 30 },
___c => 1
__},
__two => [qw/1 2 3/],
__three => 10,
__four => Test::Obj->new(),
_};
_lnpath($data, '/three'); # 10
_lnpath($data, 'one/a/1'); # 10;
_lnpath($data, 'one/b/a'); # 10
_lnpath($data, 'two/2/3/4'); # 2 unless you set the additional error invalid_path (make it die)
_lnpath($data, 'four/plus(10, 2)');
_lnpath($data, 'four/minus(200, crazy_world)');
_lnpath($data, 'four/plus(200, crazy_world(50))');
_lnpath($data, 'four/plus(200, &other_world(100))');
_lnpath($data, 'four/magic(200, { okay => 'fine' }, [ 1, 2, 3, should, &work ])');

Alternatives

Package Version Architecture Repository
perl-Data-LNPath - - -

Requires

Name Value
/usr/share/perl5 -
perl(Scalar/Util.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/LNPath.pm) = 0.080
perl-Data-LNPath = 0.08-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Data-LNPath-0.08-alt1.noarch.rpm
Source Package perl-Data-LNPath-0.08-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-Data-LNPath rpm package:
    # sudo apt-get install perl-Data-LNPath

Files

Path
/usr/share/doc/perl-Data-LNPath-0.08/Changes
/usr/share/doc/perl-Data-LNPath-0.08/README
/usr/share/doc/perl-Data-LNPath-0.08/ignore.txt
/usr/share/perl5/Data/LNPath.pm

See Also

Package Description
perl-Data-LUID-0.014-alt1.noarch.rpm Generate guaranteed unique local identifiers
perl-Data-Layout-BuddySystem-20170808-alt1.noarch.rpm Layout data in memory allocated via a buddy system
perl-Data-Lazy-0.6-alt1.noarch.rpm perl module Data-Lazy
perl-Data-LazyACL-0.05-alt1.noarch.rpm perl module Data-LazyACL
perl-Data-Leaf-Walker-0.21-alt1.noarch.rpm Walk the leaves of arbitrarily deep nested data structures
perl-Data-Library-0.2-alt1.noarch.rpm perl module Data-Library
perl-Data-LineBuffer-0.01-alt1.noarch.rpm perl module Data-LineBuffer
perl-Data-LinkedList-0.01-alt1.noarch.rpm Perl implementation of the GNU Classpath LinkedList
perl-Data-Localize-Storage-MongoDB-0.001-alt1.noarch.rpm A MongoDB storage backend for Data::Localize
perl-Data-Lock-1.03-alt1.noarch.rpm makes variables (im)?mutable
perl-Data-Lotter-0.00004-alt1.noarch.rpm Data lottery module by its own weight
perl-Data-Lua-0.02-alt1.noarch.rpm Parse variables out of Lua code
perl-Data-MATFile-0.04-alt1.noarch.rpm read MATLAB MAT-File data
perl-Data-MATFile-scripts-0.04-alt1.noarch.rpm Data-MATFile scripts
perl-Data-MEID-0.06-alt1.noarch.rpm perl module Data-MEID
Advertisement
Advertisement