Class::Multimethods::Pure 0.13
Sponsored Links
Class::Multimethods::Pure 0.13 Ranking & Summary
File size:
0.015 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
843
Date added:
2007-07-05
Publisher:
Luke Palmer
Class::Multimethods::Pure 0.13 description
Class::Multimethods::Pure is a Perl module that contains a method-ordered multimethod dispatch.
SYNOPSIS
use Class::Multimethods::Pure;
package A;
sub magic { rand() > 0.5 }
package B;
use base A;
package C;
use base A;
BEGIN {
multi foo => (A, A) => sub {
"Generic catch-all";
};
multi foo => (A, B) => sub {
"More specific";
};
multi foo => (subtype(A, sub { $_[0]->magic }), A) => sub {
"This gets called half the time instead of catch-all";
};
multi foo => (any(B, C), A) => sub {
"Accepts B or C as the first argument, but not A"
};
}
SYNOPSIS
use Class::Multimethods::Pure;
package A;
sub magic { rand() > 0.5 }
package B;
use base A;
package C;
use base A;
BEGIN {
multi foo => (A, A) => sub {
"Generic catch-all";
};
multi foo => (A, B) => sub {
"More specific";
};
multi foo => (subtype(A, sub { $_[0]->magic }), A) => sub {
"This gets called half the time instead of catch-all";
};
multi foo => (any(B, C), A) => sub {
"Accepts B or C as the first argument, but not A"
};
}
Class::Multimethods::Pure 0.13 Screenshot
Advertisements
Class::Multimethods::Pure 0.13 Keywords
Pure 0.13
Perl module
sub
multi
Multimethod
Perl
module
Foo
Class::Multimethods::Pure
ClassMultimethodsPure
Class::Multimethods::Pure 0.13
Libraries
Programming
Bookmark Class::Multimethods::Pure 0.13
Class::Multimethods::Pure 0.13 Copyright
WareSeeker periodically updates pricing and software information of Class::Multimethods::Pure 0.13 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Class::Multimethods::Pure 0.13 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Sponsored Links
Related Information
perl modules
install perl module
installing perl module
xml parser perl module
atrpms perl module helper
perl module tutorial
net ssleay perl module
perl module install
module master
perl how to remove a module
multimap
multimethod tablet
lunar module
module allows users
subway coupons
modules
perlane
multiple sclerosis
Related Software
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash. Free Download
Locale::Memories is a Perl module for L10N Message Retrieval. Free Download
Clone is a Perl module that can recursively copy Perl datatypes. Free Download
The metric implemented in the Image::Density Perl Module estimates the density of data where there is data. Free Download
Acme::Tests is a Perl module to see how much do you know. Free Download
whouses Perl module is an impact analysis in a clearmake build environment. Free Download
Module::Signature is a Perl module signature file manipulation. Free Download
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius. Free Download
Latest Software
Popular Software
Favourite Software