perl-MooX-VariantAttribute-0.07-alt1.noarch.rpm


Advertisement

Description

perl-MooX-VariantAttribute - The great new MooX::VariantAttribute

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-MooX-VariantAttribute
Package version 0.07
Package release alt1
Package architecture noarch
Package type rpm
Installed size 28.47 KB
Download size 28.47 KB
Official Mirror ftp.altlinux.org
package My::Multi::Parser
use Moo;
use MooX::VariantAttribute;
variant parser => (
is  => 'ro',
when => [
'Test::Parser::One' => {
alias => {
parse_string => 'parse',
},
},
'Random::Parser::Two' => {
alias => {
parse_file   => 'parse_from_file',
},
},
'Another::Parser::Three' => {
alias => {
parse_string => 'meth_one',
parse_file   => 'meth_two',
},
},
],
);
........
my $parser = My::Multi::Parser->new( parser => Another::Parser::Three->new() )->parser;
$parser->parse_string();
$parser->parse_file();

Alternatives

Package Version Architecture Repository
perl-MooX-VariantAttribute - - -

Requires

Name Value
/usr/share/perl5 -
perl(Combine/Keys.pm) >= 0.040
perl(Moo/Role.pm) -
perl(MooX/ReturnModifiers.pm) >= 0.030
perl(Scalar/Util.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(MooX/VariantAttribute.pm) = 0.070
perl(MooX/VariantAttribute/Role.pm) -
perl-MooX-VariantAttribute = 0.07-alt1

Download

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

Files

Path
/usr/share/doc/perl-MooX-VariantAttribute-0.07/Changes
/usr/share/doc/perl-MooX-VariantAttribute-0.07/README
/usr/share/doc/perl-MooX-VariantAttribute-0.07/README.md
/usr/share/doc/perl-MooX-VariantAttribute-0.07/ignore.txt
/usr/share/perl5/MooX/VariantAttribute.pm
/usr/share/perl5/MooX/VariantAttribute/Role.pm

See Also

Package Description
perl-MooX-XSConstructor-0.001-alt1.noarch.rpm glue between Moo and Class::XSConstructor
perl-MoobX-0.1.0-alt1.noarch.rpm Reactive programming framework heavily inspired by JavaScript's MobX
perl-Mooish-0.01-alt1.noarch.rpm Modules related to the Mo* modules family (Mo, Moo, Moose, Mouse)
perl-Mooish-Caller-Util-0.06-alt1.noarch.rpm Get constructor caller from inside Mo/Moo/Moose/Mouse's BUILD/BUILDARGS
perl-Moonshine-Element-0.08-alt1.noarch.rpm Build some more html
perl-Moonshine-Template-0.03-alt1.noarch.rpm Template some more html
perl-Moonshine-Test-0.10-alt1.noarch.rpm Test!
perl-Moonshine-Util-0.07-alt1.noarch.rpm Utils
perl-Moos-0.30-alt1.noarch.rpm Moo s{imple,peedy,ingle}
perl-Moos-scripts-0.30-alt1.noarch.rpm Moos scripts
perl-Moose-Micro-0.002-alt1.noarch.rpm succinctly specify Moose attributes
perl-Moose-OldDocs-0.04-alt1.noarch.rpm A distro that contains stubs for documentation which has moved
perl-Moose-Policy-0.05-alt2_7.noarch.rpm Moose-mounted police
perl-Moose-Test-0.01-alt1.noarch.rpm A Test Runner for the Moose test suite
perl-Moose-Tiny-0.04-alt1.noarch.rpm Why Should Object::Tiny get all the Fun
Advertisement
Advertisement