p5-Class-Multimethods-1.701.txz


Advertisement

Description

p5-Class-Multimethods - Support multimethods and function overloading in Perl

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename p5-Class-Multimethods-1.701.txz
Package name p5-Class-Multimethods
Package version 1.701
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Class-Multimethods
License GPLv1+, ART10
Maintainer bofh@FreeBSD.org
Download size 25.04 KB
Installed size 59.55 KB
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 "Finding the "nearest" multimethod" for a
definition of "closest").
WWW: https://metacpan.org/release/Class-Multimethods

Alternatives

Package Version Architecture Repository
p5-Class-Multimethods-1.701.txz 1.701 i386 FreeBSD Ports Quarterly
p5-Class-Multimethods-1.701.txz 1.701 amd64 FreeBSD Ports Quarterly
p5-Class-Multimethods-1.701.txz 1.701 i386 FreeBSD Ports Latest
p5-Class-Multimethods - - -

Requires

Name Value
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Class-Multimethods-1.701.txz
Source Package devel/p5-Class-Multimethods

Install Howto

Install p5-Class-Multimethods txz package:

# pkg install p5-Class-Multimethods

See Also

Package Description
p5-Class-Multimethods-Pure-0.13_1.txz Method-ordered multimethod dispatch
p5-Class-NamedParms-1.06_1.txz Lightweight named parameter handling system
p5-Class-Null-2.110730_1.txz Perl module which implements the Null Class design pattern
p5-Class-OOorNO-0.011_1.txz Perl module that give your module classic AND OO interfaces
p5-Class-ObjectTemplate-0.7_1.txz Optimized template builder base class
p5-Class-ObjectTemplate-DB-0.27_1.txz Optimized template builder base class with lookup capability
p5-Class-Observable-1.04_1.txz Allow other classes and objects to respond to events in yours
p5-Class-ParmList-1.05_1.txz Module for processing named parameter lists for method calls
p5-Class-Prototyped-1.13_1.txz Fast prototype-based OO programming in Perl
p5-Class-ReturnValue-0.55_1.txz Return-value object that can be treated as a boolean, array, or object
p5-Class-Roles-0.30_2.txz Provides a role-based system of OOP (emulates Perl6)
p5-Class-STL-Containers-0.37.txz Perl extension for STL-like object management
p5-Class-Singleton-1.5_1.txz Perl module that describes a singular object class
p5-Class-Spiffy-0.15_2.txz Class::Spiffy - Spiffy Perl Interface Framework For You
p5-Class-StateMachine-0.24_1.txz Define classes for state machines
Advertisement
Advertisement