perl-Data-DefGen-1.001003-alt1.noarch.rpm


Advertisement

Description

perl-Data-DefGen - Define and Generate arbitrary data

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-DefGen-1.001003-alt1.noarch.rpm
Package name perl-Data-DefGen
Package version 1.001003
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 3.68 KB
Installed size 3.68 KB
This module exports a single `def' function that takes a CODE block to define a data structure. The returned structure may contain more definitions within it.
Calling `gen' method on the returned object will recursively execute all the definitions, and return the entire generated data structure. Params passed to `gen' will be received by all CODE definitions.
By default, a shallow copy is performed whenever a blessed object is encountered. To override this behavior, pass an `obj_cloner' function, per `def' block:
my $defn = def { ... } obj_cloner => sub { my_cloning($_[0]) };
Unlike `gen' params, the `obj_cloner' function does not propagate to nested definitions.

Alternatives

Package Version Architecture Repository
perl-Data-DefGen - - -

Requires

Name Value
/usr/share/perl5 -
perl(Scalar/Util.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/DefGen.pm) = 1.001.003
perl-Data-DefGen = 1.001003-alt1

Download

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

Files

Path
/usr/share/doc/perl-Data-DefGen-1.001003/Changes
/usr/share/doc/perl-Data-DefGen-1.001003/LICENSE
/usr/share/doc/perl-Data-DefGen-1.001003/README
/usr/share/perl5/Data/DefGen.pm

See Also

Package Description
perl-Data-Default-0.11-alt1.noarch.rpm perl module Data-Default
perl-Data-Define-1.03-alt1.noarch.rpm Make undef's defined
perl-Data-Demos-0.0.2-alt1.noarch.rpm Database Migration Demos
perl-Data-Demos-scripts-0.0.2-alt1.noarch.rpm Data-Demos scripts
perl-Data-Describe-1.03-alt1.noarch.rpm perl module Data-Describe
perl-Data-Dict-0.003-alt1.noarch.rpm Hash-based dictionary object
perl-Data-Diff-0.01-alt1.noarch.rpm data structure comparison module
perl-Data-Difference-0.112850-alt1.noarch.rpm Compare simple hierarchical data
perl-Data-Digest-1.04-alt1.noarch.rpm Objects that represent a digest values
perl-Data-DigestPath-0.04-alt1.noarch.rpm the path generator as digest hash
perl-Data-Dimensions-0.05-alt1.noarch.rpm perl module Data-Dimensions
perl-Data-Direct-0.05-alt1.noarch.rpm perl module Data-Direct
perl-Data-Display-0.02-alt1.noarch.rpm perl module Data-Display
perl-Data-Dmap-0.08-alt1.noarch.rpm just like map, but on deep data structures
perl-Data-Dmp-Org-0.01-alt1.noarch.rpm Dump Perl data structures as Org document
Advertisement
Advertisement