lenny  ] [  squeeze  ] [  sid  ]
[ 源代码: libclass-prototyped-perl  ]

软件包: 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'.

标签: Software Development: Perl Development, 链接库, Implemented in: Perl, Role: Development Library, Shared Library

其它与 libclass-prototyped-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: perl (>= 5.6.0-16)
    Larry Wall 的实用抽取和报表语言(Practical Extraction and Report Language)

下载 libclass-prototyped-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 68.3 kB196 kB [文件列表]