perl-MAD-Loader-3.001003-alt1.noarch.rpm


Advertisement

Description

perl-MAD-Loader - A tiny module loader

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-MAD-Loader
Package version 3.001003
Package release alt1
Package architecture noarch
Package type rpm
Installed size 44.17 KB
Download size 44.17 KB
Official Mirror ftp.altlinux.org
MAD::loader is a module loader and object builder for situations when you
want several modules being loaded dynamically.
For each module loaded this way an builder method may be called with
or without arguments. You may also control where the loader will search for
modules, you may prefix the module names with a custom namespace and you
may change how it will behave on getting errors.
use MAD::Loader qw{ fqn load_module build_object };
my $fqn = fqn( 'My::Module', 'My::Prefix' );
my $module = load_module(
module      => 'Bar',
prefix      => 'Foo',
inc         => [ 'my/local/lib' ],
on_error    => \&error_handler,
);
my $object = build_object(
module      => 'Foo::Bar',
builder     => 'new',
args        => [ 123, 456 ],
on_error    => \&error_handler,
);
use MAD::Loader;
my $loader = MAD::Loader->new(
prefix      => 'Foo',
set_inc     => [ 'my/module/dir' ],
builder     => 'new',
args        => [ 123, 456 ],
on_error    => \&error_handler,
);
my $loaded = $loader->load( qw{ Bar Etc 123 } );
use Foo::Bar;
use Foo::Etc;
use Foo::123;
my $built = $loader->build( qw{ Foo::Bar Foo::Etc Foo::123 } );
my $built = {
Foo::Bar => Foo::Bar->new( 123, 456 ),
Foo::Etc => Foo::Etc->new( 123, 456 ),
Foo::123 => Foo::123->new( 123, 456 ),
}
my $built = $loader->load_and_build( qw{ Bar Etc 123 } );
use Foo::Bar;
use Foo::Etc;
use Foo::123;
my $built = {
Foo::Bar => Foo::Bar->new( 123, 456 ),
Foo::Etc => Foo::Etc->new( 123, 456 ),
Foo::123 => Foo::123->new( 123, 456 ),
}

Alternatives

Package Version Architecture Repository
perl-MAD-Loader - - -

Requires

Name Value
/usr/share/perl5 -
perl(Const/Fast.pm) >= 0.014
perl(Moo.pm) >= 1.004.006
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(MAD/Loader.pm) = 3.001.003
perl-MAD-Loader = 3.001003-alt1

Download

Type URL
Binary Package perl-MAD-Loader-3.001003-alt1.noarch.rpm
Source Package perl-MAD-Loader-3.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-MAD-Loader rpm package:
    # sudo apt-get install perl-MAD-Loader

Files

Path
/usr/share/doc/perl-MAD-Loader-3.001003/Changes
/usr/share/doc/perl-MAD-Loader-3.001003/LICENSE
/usr/share/doc/perl-MAD-Loader-3.001003/README
/usr/share/perl5/MAD/Loader.pm

See Also

Package Description
perl-MAD-Scrambler-0.000005-alt1.noarch.rpm Scramble nibbles of a 32-bit integer
perl-MARC-1.07-alt1.noarch.rpm perl module MARC
perl-MARC-Crosswalk-DublinCore-0.02-alt1.noarch.rpm Convert data between MARC and Dublin Core
perl-MARC-Crosswalk-DublinCore-scripts-0.02-alt1.noarch.rpm MARC-Crosswalk-DublinCore scripts
perl-MARC-Descriptions-0.9-alt1.noarch.rpm MARC metadata looker-upper
perl-MARC-Detrans-1.41-alt1.noarch.rpm De-transliterate text and MARC records
perl-MARC-Fast-0.12-alt1.noarch.rpm perl module MARC-Fast
perl-MARC-Field-Normalize-NACO-0.06-alt1.noarch.rpm Matching normalization for MARC::Field
perl-MARC-File-JSON-0.003-alt1.noarch.rpm read/write MARC data into JSON format
perl-MARC-File-MARCMaker-0.05-alt1.noarch.rpm perl module MARC-File-MARCMaker
perl-MARC-File-MARCMaker-scripts-0.05-alt1.noarch.rpm MARC-File-MARCMaker scripts
perl-MARC-File-MARCXML-1.0.0-alt1.noarch.rpm MARCXML implementation for MARC records
perl-MARC-File-MiJ-0.04-alt1.noarch.rpm Read newline-delimited marc-in-json files
perl-MARC-File-XML-1.0.5-alt1.noarch.rpm Work with MARC data encoded as XML
perl-MARC-File-XML-scripts-1.0.5-alt1.noarch.rpm MARC-File-XML scripts
Advertisement
Advertisement