libclass-isa-perl binary package in Ubuntu Precise i386
Suppose you have a class (like Food::Fish:
its @ISA, from one or more superclasses (as Food::Fish:
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-
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.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2011-12-05 12:07:02 UTC | Published | Ubuntu Precise i386 | release | main | perl | Optional | 0.36-3 | ||
|
|||||||||
2011-12-05 12:12:59 UTC | Superseded | Ubuntu Precise i386 | release | main | perl | Optional | 0.36-2 | ||
|
|||||||||
2011-10-17 12:14:48 UTC | Superseded | Ubuntu Precise i386 | release | main | perl | Optional | 0.36-1 | ||
|