libclass-data-inheritable-perl 0.08-3 source package in Ubuntu
Changelog
libclass-data-inheritable-perl (0.08-3) unstable; urgency=medium [ gregor herrmann ] * Strip trailing slash from metacpan URLs. [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. [ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ Xavier Guimard ] * Declare compliance with policy 4.2.0 * Bump debhelper compat to 10 * Update debian/copyright years * Add upstream/metadata * Update spelling-errors.patch * Enable autopkgtest -- Xavier Guimard <email address hidden> Sat, 25 Aug 2018 16:07:32 +0200
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libclass-data-inheritable-perl_0.08-3.dsc | 2.4 KiB | 4e7434f3a8a80159d2c1c155030ecd2fe6b749679e8ec0a8389da40f8dea6329 |
libclass-data-inheritable-perl_0.08.orig.tar.gz | 5.5 KiB | 9967feceea15227e442ec818723163eb6d73b8947e31f16ab806f6e2391af14a |
libclass-data-inheritable-perl_0.08-3.debian.tar.xz | 3.3 KiB | 7cfa25fba56c4b3fc6871944069f569a7575a9cd0ba36b6f83be0481308a7278 |
Available diffs
- diff from 0.08-2 to 0.08-3 (1.7 KiB)
No changes file available.
Binary packages built by this source
- libclass-data-inheritable-perl: Perl module to create accessors to class data
Class:
:Data:: Inheritable is for creating accessors/mutators to class
data. That is, if you want to store something about your class as a
whole (instead of about a single object). This data is then inherited
by your subclasses and can be overridden.
.
For example:
.
Pere::Ubu->mk_ classdata( 'Suitcase' );
.
will generate the method Suitcase() in the class Pere::Ubu.
.
This new method can be used to get and set a piece of class data.
.
Pere::Ubu->Suitcase( 'Red');
$suitcase = Pere::Ubu->Suitcase;