![]() |
Welcome to ftp.nluug.nl Current directory: /ftp/os/Linux/distr/salix/x86_64/extra-15.0/source/perl/perl-Class-ISA/ |
|
Contents of README:perl-Class-ISA Suppose you have a class (like Food::Fish::Fishstick) that is derived, via its @ISA, from one or more superclasses (as Food::Fish::Fishstick is from Food::Fish, Life::Fungus, and Chemicals), and some of those superclasses may themselves each be derived, via its @ISA, from one or more superclasses (as above). When, then, you call a method in that class ($fishstick->calories), Perl first searches there for that method, but if it's not there, it goes searching in its superclasses, and so on, in a depth-first (or maybe "height-first" is the word) search. In the above example, it'd first look in Food::Fish, then Food, then Matter, then Life::Fungus, then Life, then Chemicals. This library, Class::ISA, provides functions that return that list -- the list (in order) of names of classes Perl would search to find a method, with no duplicates. |
Name Last modified Size
Parent Directory -
Class-ISA-0.36.tar.gz 27-May-2022 12:50 5.9K
README 27-May-2022 12:49 864
perl-Class-ISA.SlackBuild 11-Mar-2022 06:34 3.4K
perl-Class-ISA.info 27-May-2022 12:49 317
slack-desc 27-May-2022 12:49 933
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!