libclass-isa-perl 0.36-1 source package in Ubuntu
Changelog
libclass-isa-perl (0.36-1) unstable; urgency=low * Initial Release (closes: #580058) -- Ubuntu Archive Auto-Sync <email address hidden> Tue, 15 Jun 2010 10:59:29 +0100
Upload details
- Uploaded by:
- Ubuntu Archive Auto-Sync
- Uploaded to:
- Maverick
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libclass-isa-perl_0.36.orig.tar.gz | 5.9 KiB | 8816f34e9a38e849a10df756030dccf9fe061a196c11ac3faafd7113c929b964 |
libclass-isa-perl_0.36-1.diff.gz | 1.4 KiB | 1f56b78891b296ebd7bd6797f6f9188c1f36b62e643fec56ae08b8c8ccb46352 |
libclass-isa-perl_0.36-1.dsc | 1.3 KiB | 13fcfb01e95251703c9cf9b42970bfad35ac08945348782257ea0ea9fe4a8b50 |
Binary packages built by this source
- libclass-isa-perl: report the search path for a class's ISA tree
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.