perl-Devel-InheritNamespace-0.00003-alt1.noarch.rpm


Advertisement

Description

perl-Devel-InheritNamespace - Inherit An Entire Namespace

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Devel-InheritNamespace-0.00003-alt1.noarch.rpm
Package name perl-Devel-InheritNamespace
Package version 0.00003
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 27.22 KB
Installed size 27.22 KB
WARNING: YMMV using this module.
This module allows you to dynamically "inherit" an entire namespace.
For example, suppose you have a set of packages under MyApp::Base:
MyApp::Base::Foo
MyApp::Base::Bar
MyApp::Base::Baz
Then some time later you start writing MyApp::Extend.
You want to reuse MyApp::Base::Foo and MyApp::Base::Bar by subclassing
(because somehow the base namespace matters -- say, in Catalyst), but
you want to put a little customization for MyApp::Base::Baz
Normally you achieve this by manually creating MyApp::Extended:: modules:
package MyApp::Extended::Foo;
use Moose;
extends 'MyApp::Base::Foo';
package MyApp::Extended::Bar;
use Moose;
extends 'MyApp::Base::Bar';
package MyApp::Extended::Baz;
use Moose;
extends 'MyApp::Base::Baz';
... whatever customization you need ...
This is okay for a small number of modules, or if you are only doing this once
or twice. But perhaps you have tens of these modules, or maybe you do this
on every new project you create to inherit from a base applicatin set.
In that case you can use Devel::InheritNamespace.

Alternatives

Package Version Architecture Repository
perl-Devel-InheritNamespace - - -

Requires

Name Value
/usr/share/perl5 -
perl(Class/Load.pm) -
perl(Module/Pluggable/Object.pm) -
perl(Moose.pm) -
perl(namespace/clean.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Devel/InheritNamespace.pm) = 0.0.030
perl-Devel-InheritNamespace = 0.00003-alt1

Download

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

Files

Path
/usr/share/doc/perl-Devel-InheritNamespace-0.00003/Changes
/usr/share/doc/perl-Devel-InheritNamespace-0.00003/LICENSE
/usr/share/doc/perl-Devel-InheritNamespace-0.00003/README.md
/usr/share/perl5/Devel/InheritNamespace.pm

See Also

Package Description
perl-Devel-IntelliPerl-0.04-alt1.noarch.rpm Auto-completion for Perl
perl-Devel-InterpreterSize-0.01-alt1.noarch.rpm Get rough sizes for the memory useage of perl
perl-Devel-Isa-Explainer-0.002001-alt1.noarch.rpm Pretty Print Hierarchies of Subs in Packages
perl-Devel-Isa-Explainer-scripts-0.002001-alt1.noarch.rpm Devel-Isa-Explainer scripts
perl-Devel-JSON-1.001-alt1.noarch.rpm Easy JSON output for one-liners
perl-Devel-KYTProf-0.9993-alt1.noarch.rpm Simple profiler
perl-Devel-KYTProf-Logger-XRay-0.04-alt1.noarch.rpm Logger for AWS::XRay
perl-Devel-KYTProf-Profiler-AWS-CLIWrapper-0.01-alt1.noarch.rpm KYTProf prolifer for AWS::CLIWrapper
perl-Devel-KYTProf-Profiler-Fluent-Logger-0.02-alt1.noarch.rpm KYTProf profiler for Fluent::Logger
perl-Devel-KYTProf-Profiler-Redis-Fast-0.01-alt1.noarch.rpm KYTProf profiler for Redis::Fast
perl-Devel-Leak-Cb-0.04-alt1.noarch.rpm Detect leaked callbacks
perl-Devel-Leak-Module-0.02-alt1.noarch.rpm Track loaded modules and namespaces
perl-Devel-Leak-Module-scripts-0.02-alt1.noarch.rpm Devel-Leak-Module scripts
perl-Devel-Leak-Object-1.01-alt1_9.noarch.rpm Detect leaks of objects
perl-Devel-LeakGuard-Object-0.08-alt1_12.noarch.rpm Scoped checks for object leaks
Advertisement
Advertisement