全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: libstruct-dumb-perl  ]

软件包:libstruct-dumb-perl(0.09-1)

libstruct-dumb-perl 的相关链接

Screenshot

Debian 的资源:

下载源码包 libstruct-dumb-perl

维护小组:

外部的资源:

相似软件包:

module to create simple lightweight record-like structures

Struct::Dumb creates record-like structure types, similar to the struct keyword in C, C++ or C#, or Record in Pascal. An invocation of this module will create a construction function which returns new object references with the given field values. These references all respond to lvalue methods that access or modify the values stored.

It's specifically and intentionally not meant to be an object class. You cannot subclass it. You cannot provide additional methods. You cannot apply roles or mixins or metaclasses or traits or antlers or whatever else is in fashion this week.

On the other hand, it is tiny, creates cheap lightweight array-backed structures, uses nothing outside of core. It's intended simply to be a slightly nicer way to store data structures, where otherwise you might be tempted to abuse a hash, complete with the risk of typoing key names. The constructor will croak if passed the wrong number of arguments, as will attempts to refer to fields that don't exist.

标签: 软件开发: Perl 开发, 函数库, 实做语言: Perl

其他与 libstruct-dumb-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libstruct-dumb-perl

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