perl-Data-Fake-0.004-alt1.noarch.rpm


Advertisement

Description

perl-Data-Fake - Declaratively generate fake structured data for testing

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-Fake-0.004-alt1.noarch.rpm
Package name perl-Data-Fake
Package version 0.004
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 85.89 KB
Installed size 85.89 KB
This module generates randomized, fake structured data using declarative
syntax.
`Data::Fake' is built on higher-order programming principles.  It provides
users with "factory" functions, which create "generator" functions for
specific pieces of data.
Wherever randomized, fake data is desired, a generator code reference is
used as a placeholder for the desired output.  Each time the top-level
generator is run, nested generators are recursively run to turn
placeholders into the desired randomized data.
For example, the SYNOPSIS declares the desired form of a "hero" using the
`fake_hash' factory function.  The input is a hash-reference, with nested
generators created as placeholders by the `fake_name', `fake_sentences',
etc. factory functions:
my $hero_generator = fake_hash(
{
name      => fake_name(),
battlecry => fake_sentences(1),
birthday  => fake_past_datetime("%Y-%m-%d"),
friends   => fake_array( fake_int(2,4), fake_name() ),
gender    => fake_pick(qw/Male Female Other/),
}
);
Every time `$hero_generator' is run, a new hash is generated based
on the template and nested generators.

Alternatives

Package Version Architecture Repository
perl-Data-Fake - - -

Requires

Name Value
/usr/share/perl5 -
perl(Import/Into.pm) -
perl(List/Util.pm) -
perl(Text/Lorem.pm) -
perl(Time/Piece.pm) >= 1.270
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/Fake.pm) = 0.004
perl(Data/Fake/Company.pm) = 0.004
perl(Data/Fake/Core.pm) = 0.004
perl(Data/Fake/Dates.pm) = 0.004
perl(Data/Fake/Internet.pm) = 0.004
perl(Data/Fake/Names.pm) = 0.004
perl(Data/Fake/Text.pm) = 0.004
perl-Data-Fake = 0.004-alt1

Download

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

Files

Path
/usr/share/doc/perl-Data-Fake-0.004/Changes
/usr/share/doc/perl-Data-Fake-0.004/LICENSE
/usr/share/doc/perl-Data-Fake-0.004/README
/usr/share/doc/perl-Data-Fake-0.004/examples/synopsis.pl
/usr/share/doc/perl-Data-Fake-0.004/examples/urls.pl
/usr/share/perl5/Data/Fake.pm
/usr/share/perl5/Data/Fake/Company.pm
/usr/share/perl5/Data/Fake/Core.pm
/usr/share/perl5/Data/Fake/Dates.pm
/usr/share/perl5/Data/Fake/Examples.pod
/usr/share/perl5/Data/Fake/Internet.pm
/usr/share/perl5/Data/Fake/Names.pm
/usr/share/perl5/Data/Fake/Text.pm

See Also

Package Description
perl-Data-Fake-MetaSyntactic-1.001-alt1.noarch.rpm Fake metasyntactic data generators
perl-Data-Faker-0.10-alt1.noarch.rpm Perl extension for generating fake data
perl-Data-Faker-Colour-0.001-alt1.noarch.rpm Generate random colours
perl-Data-Faker-Country-0.001-alt1.noarch.rpm Provides country and ISO country code generation
perl-Data-Faker-JapaneseFemaleName-0.04-alt1.noarch.rpm Data::Faker plugin
perl-Data-Faker-MetaSyntactic-1.000-alt1.noarch.rpm Data::Faker plugin for metasyntactic data
perl-Data-Faker-scripts-0.10-alt1.noarch.rpm Data-Faker scripts
perl-Data-Fallback-0.16-alt1.noarch.rpm fallback through an array of levels till you find your data, cacheing where desired
perl-Data-Favorites-1-alt1.noarch.rpm perl module Data-Favorites
perl-Data-Fax-0.02-alt1.noarch.rpm perl module Data-Fax
perl-Data-FeatureFactory-0.0405-alt1.noarch.rpm evaluate features normally or numerically
perl-Data-Feed-0.00015-alt1.noarch.rpm Extensible Feed Parsing Tool
perl-Data-Fetch-0.05-alt1.noarch.rpm give advance warning that you'll be needing a value
perl-Data-FetchPath-0.02-alt1.noarch.rpm "eval"able paths to your complex data values
perl-Data-File-Map-0.09-alt1.noarch.rpm Read data file definitions stored as XML
Advertisement
Advertisement