Filewatcher File Search File Search
Catalog
Content Search
» » » » »

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.

Homepage:
Package version:0.36-3
Architecture:all
Distribution:Debian
Filename:libclass-isa-perl_0.36-3_all.deb

/usr/share/doc/libclass-isa-perl/README.gz

NAME
    Class::ISA -- report the search path for a class's ISA tree

SYNOPSIS
      # Suppose you go: use Food::Fishstick, and that uses and
      # inherits from other things, which in turn use and inherit
      # from other things.  And suppose, for sake of brevity of
      # example, that their ISA tree is the same as:

      @Food::Fishstick::ISA = qw(Food::Fish  Life::Fungus  Chemicals);
   
more»

/usr/share/man/man3/Class::ISA.3pm.gz

Class::ISA(3pm)  User Contributed Perl Documentation Class::ISA(3pm)



NAME
       Class::ISA - report the search path for a class's ISA tree

SYNOPSIS
         # Suppose you go: use Food::Fishstick, and that uses and
         # inherits from other things, which in turn use and inherit
         # from other things.  And suppose, for sake of brevity of
         # example, that their ISA tree is th
more»

/usr/share/doc/libclass-isa-perl/changelog.Debian.gz

libclass-isa-perl (0.36-3) unstable; urgency=low

  [ Salvatore Bonaccorso ]
  * debian/copyright: Replace DEP5 Format-Specification URL from
    svn.debian.org to anonscm.debian.org URL.

  [ Dominic Hargreaves ]
  * Remove use of 'use if' so that this package doesn't need to depend on
    perl
  * Don't depend on perl, to break a circular Depends (closes: #649101)

 -- Dominic Hargreaves <dom@ea
more»

/usr/share/doc/libclass-isa-perl/changelog.gz

Revision history for Perl extension Class::ISA

2009-09-29  Steffen Mueller  smueller@cpan.org
	
	* 
more»

/usr/share/doc/libclass-isa-perl/copyright

Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=13
more»

Browse inside libclass-isa-perl_0.36-3_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libclass-isa-perl_0.36-3_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com