lenny  ] [  squeeze  ] [  sid  ]

Pakket: libclass-prototyped-perl (1.11-2)

Fast prototype-based OO programming in Perl

This package provides for efficient and simple prototype-based programming in Perl. You can provide different subroutines for each object, and also have objects inherit their behavior and state from another object.

The structure of an object is inspected and modified through *mirrors*, which are created by calling "reflect" on an object or class that inherits from "Class::Prototyped".

The author says: 'When I reach for "Class::Prototyped", it's generally because I really need it. When the cleanest way of solving a problem is for the code that uses a module to subclass from it, that is generally a sign that "Class::Prototyped" would be of use. If you find yourself avoiding the problem by passing anonymous subroutines as parameters to the "new" method, that's another good sign that you should be using prototype based programming. If you find yourself storing anonymous subroutines in databases, configuration files, or text files, and then writing infrastructure to handle calling those anonymous subroutines, that's yet another sign. When you expect the people using your module to want to change the behavior, override subroutines, and so forth, that's a sign'.

Tags: Softwareontwikkeling: Ontwikkelen in Perl, Bibliotheken, Implemented in: Perl, Role: Development Library, Shared Library

Andere aan libclass-prototyped-perl gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • dep: perl (>= 5.6.0-16)
    Larry Wall's Practische Extractie en Reportage Taal

libclass-prototyped-perl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 68,3 kB196 kB [overzicht]