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

perl-mixin

Mix-in inheritance, an alternative to multiple inheritance

This module allows mix-in inheritance, an alternative to multiple inheritance.
Homepage:
Package version:0.04
Architecture:noarch
Distribution:Dries
Filename:perl-mixin-0.04-1.2.el4.rf.noarch.rpm

/usr/share/man/man3/mixin.3pm.gz

mixin(3)         User Contributed Perl Documentation        mixin(3)



NAME
       mixin - Mix-in inheritance, an alternative to multiple inher‐
       itance

SYNOPSIS
         package Dog;
         sub speak { print "Bark!\n" }
         sub new { my $class = shift;  bless {}, $class }

         package Dog::Small;
         use base 'Dog';
         sub speak { print "Yip!\n"; }

         packa
more»

/usr/share/man/man3/mixin::with.3pm.gz

mixin::with(3)   User Contributed Perl Documentation  mixin::with(3)



NAME
       mixin::with - declaring a mix-in class

SYNOPSIS
           package Dog::Retriever;
           use mixin::with 'Dog';

DESCRIPTION
       mixin::with is used to declare mix-in classes.

       Creating a mixin class.

       There's one critical difference between a normal subclass and
       one intended to be mix
more»

/usr/share/doc/perl-mixin-0.04/Changes

0.04  Mon Apr 29 18:45:58 EDT 2002
  * And I forgot to test it. :(

0.03  Mon Apr 29 18:33:45 EDT 2002
  * mixin forgot to require the package being mixed in!

0.02  Wed Apr 17 11:05:08 EDT 2002
  * Removed the caveat about mixins not having any superclasses.
  * Removed the caveat about mixins not working stand-alone.
  * Fixed so a mixin can use it's parent's methods during
    initialization.
 
more»

Browse inside perl-mixin-0.04-1.2.el4.rf.noarch.rpm

776 B2014-11-29HEADER  view  886+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-mixin-0.04-1.2.el4.rf.noarch.rpm

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