libstruct-dumb-perl_0.03-1_all.deb


Advertisement

Description

libstruct-dumb-perl - module to create simple lightweight record-like structures

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libstruct-dumb-perl
Package version: 0.03
Package release: 1
Package architecture: all
Package type: deb
Installed size: 51 B
Download size: 8.05 KB
Official Mirror: ftp.br.debian.org
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.

Alternatives

Requires

    Download

    Source package: libstruct-dumb-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libstruct-dumb-perl deb package:
      # sudo apt-get install libstruct-dumb-perl

    Files

    • /usr/share/doc/libstruct-dumb-perl/changelog.Debian.gz
    • /usr/share/doc/libstruct-dumb-perl/changelog.gz
    • /usr/share/doc/libstruct-dumb-perl/copyright
    • /usr/share/man/man3/Struct::Dumb.3pm.gz
    • /usr/share/perl5/Struct/Dumb.pm

    Changelog

    2014-10-20 - gregor herrmann <gregoa@debian.org> libstruct-dumb-perl (0.03-1) unstable; urgency=low * Initial release (closes: #766082).

    Advertisement
    Advertisement