Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Class-Multimethods | Distribution: OpenMandriva Lx |
Version: 1.700.0 | Vendor: OpenMandriva |
Release: 5 | Build date: Mon Nov 2 17:38:25 2020 |
Group: Development/Perl | Build host: rhel.openmandriva.org |
Size: 55139 | Source RPM: perl-Class-Multimethods-1.700.0-5.src.rpm |
Packager: bero <bero@lindev.ch> | |
Url: http://search.cpan.org/dist/Class-Multimethods | |
Summary: A multiple dispatch mechanism for Perl |
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").
GPL+ or Artistic
* Mon Apr 18 2011 Funda Wang <fwang@mandriva.org> 1.700.0-2mdv2011.0 + Revision: 654894 - rebuild for updated spec-helper * Thu May 06 2010 Michael Scherer <misc@mandriva.org> 1.700.0-1mdv2011.0 + Revision: 542857 - import perl-Class-Multimethods * Thu May 06 2010 cpan2dist 1.70-1mdv - initial mdv release, generated with cpan2dist
/usr/share/doc/perl-Class-Multimethods /usr/share/doc/perl-Class-Multimethods/Changes /usr/share/doc/perl-Class-Multimethods/README /usr/share/man/man3/Class::Multimethods.3pm.zst /usr/share/perl5/vendor_perl/Class /usr/share/perl5/vendor_perl/Class/Multimethods.pm /usr/share/perl5/vendor_perl/Class/Multimethods.pod
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Dec 26 23:03:24 2024