libclass-virtual-perl 0.06-3 source package in Ubuntu
Changelog
libclass-virtual-perl (0.06-3) unstable; urgency=low * Add dependencies on libclass-isa-perl | perl (<< 5.10.1-13) (closes: #614412) * Update dh compat to 7, and use tiny rules file * Update Standards-Version (no changes) * Switch to source format 3.0 (quilt) -- Ubuntu Archive Auto-Sync <email address hidden> Sat, 30 Apr 2011 13:02:12 +0000
Upload details
- Uploaded by:
- Ubuntu Archive Auto-Sync
- Uploaded to:
- Oneiric
- Original maintainer:
- Dominic Hargreaves
- Architectures:
- all
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Xenial | release | universe | perl | |
Trusty | release | universe | perl | |
Precise | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libclass-virtual-perl_0.06.orig.tar.gz | 5.6 KiB | d84d5aead233f248374e6d4773d3da1c387378a02234f23fcafc2ce251337b24 |
libclass-virtual-perl_0.06-3.debian.tar.gz | 2.1 KiB | 1c9cde3b0259d98175807d238d80453daa46780d314bf2965b202cb3a483e746 |
libclass-virtual-perl_0.06-3.dsc | 1.2 KiB | 7eecf888ee64d099f0ee59d2b9e8d988a6085a76017a5a94137ea4f08a4fc7dc |
Available diffs
- diff from 0.06-2 to 0.06-3 (1.9 KiB)
Binary packages built by this source
- libclass-virtual-perl: Base class for virtual base classes
This is a base class for implementing virtual base classes (what some
people call an abstract class). Kinda kooky. It allows you to
explicitly declare what methods are virtual and that must be
implemented by subclasses. This might seem silly, since your program
will halt and catch fire when an unimplemented virtual method is hit
anyway, but there's some benefits.
.
The error message is more informative. Instead of the usual
"Can't locate object method" error, you'll get one explaining that a
virtual method was left unimplemented.
.
Subclass authors can explicitly check to make sure they've implemented
all the necessary virtual methods. When used as part of a regression
test, it will shield against the virtual method requirements changing
out from under the subclass.