perl-Class-Multimethods - A multiple dispatch mechanism for Perl

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Class-Multimethods
Package version 1.701
Package release alt1_1
Package architecture noarch
Package type rpm
Installed size 48.63 KB
Download size 48.63 KB
Official Mirror
The Class:Multimethod module exports a subroutine (&multimethod) that can
be used to declare other subroutines that are dispatched using a algorithm
different from the normal Perl subroutine or method dispatch mechanism.
Normal Perl subroutines are dispatched by finding the appropriately-named
subroutine in the current (or specified) package and calling that. Normal
Perl methods are dispatched by attempting to find the appropriately-named
subroutine in the package into which the invoking object is blessed or,
failing that, recursively searching for it in the packages listed in the
appropriate '@ISA' arrays.
Class::Multimethods multimethods are dispatched quite differently. The
dispatch mechanism looks at the classes or types of each argument to the
multimethod (by calling 'ref' on each) and determines the "closest"
matching _variant_ of the multimethod, according to the argument types
specified in the variants' definitions (see the Finding the "nearest"
multimethod manpage for a definition of "closest").


Package Version Architecture Repository
perl-Class-Multimethods - - -


Name Value
/usr/share/perl5 -
perl(Data/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Class/ = 1.701
perl-Class-Multimethods = 1.701-alt1_1


Type URL
Binary Package perl-Class-Multimethods-1.701-alt1_1.noarch.rpm
Source Package perl-Class-Multimethods-1.701-alt1_1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Class-Multimethods rpm package:
    # sudo apt-get install perl-Class-Multimethods



See Also

Package Description
perl-Class-Multimethods-Pure-0.13-alt1.noarch.rpm perl module Class-Multimethods-Pure
perl-Class-Mutator-0.04-alt1.noarch.rpm Run-time Dynamic Multiple Inheritance
perl-Class-NamedParms-1.06-alt1.noarch.rpm A lightweight base class for checked get/set property accessors
perl-Class-NonOO-0.4.1-alt1.noarch.rpm Use methods as functions with an implicit singleton
perl-Class-Null-2.110730-alt2_7.noarch.rpm Implements the Null Class design pattern
perl-Class-OOorNO-0.011-alt1.noarch.rpm perl module Class-OOorNO
perl-Class-Object-0.01-alt1.noarch.rpm perl module Class-Object
perl-Class-ObjectTemplate-0.7-alt1.noarch.rpm perl module Class-ObjectTemplate
perl-Class-ObjectTemplate-DB-0.27-alt1.noarch.rpm perl module Class-ObjectTemplate-DB
perl-Class-Observable-1.04-alt1_29.noarch.rpm Allow other classes and objects to respond to events in yours
perl-Class-PINT-0.01-alt1.noarch.rpm A Class::DBI package providing Tangram and other OOPF features
perl-Class-PObject-2.17-alt1.noarch.rpm perl module Class-PObject
perl-Class-Param-0.1-alt1.noarch.rpm Param Class
perl-Class-ParamParser-1.041-alt2_10.noarch.rpm CPAN Class-ParamParser perl module
perl-Class-Params-0.05-alt1.noarch.rpm Parameter utils for constructor