./devel/p5-Class-Virtual [base class for virtual base classes]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.08, Package name: p5-Class-Virtual-0.08
Maintained by: The OpenBSD ports mailing-list
Master sites:
Description
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.

Finally, subclass authors can get an explicit list of everything
they're expected to implement.

Doesn't hurt and it doesn't slow you down.


Filesize: 6.703 KB
Version History (View Complete History)
  • (2017-03-01) Updated to version: p5-Class-Virtual-0.08
  • (2015-03-31) Updated to version: p5-Class-Virtual-0.07
  • (2007-09-10) Package added to openports.se, version p5-Class-Virtual-0.06 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2017-03-01 07:12:56 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Class-Virtual-0.08.
   2017-03-01 07:12:56 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Class-Virtual-0.08.
   2016-03-20 13:57:24 by Christian Weisgerber | Files touched by this commit (1617)
Log message:
Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES.
Add WANTLIB+=perl and PKG_ARCH=* as appropriate.
   2015-03-31 07:19:16 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Class-Virtual-0.07.
   2015-03-31 07:19:16 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Class-Virtual-0.07.
   2015-01-21 07:28:00 by Stuart Henderson | Files touched by this commit (132)
Log message:
drop USE_GROFF, output checked with gmdiff
   2015-01-17 20:16:09 by Christian Weisgerber | Files touched by this commit (3349)
Log message:
Drop remaining MD5/RMD160/SHA1 checksums.
   2010-12-03 04:44:38 by Antoine Jacoutot | Files touched by this commit (627)
Log message:
Bump after recent cpan.port.mk change.
ok jasper@
   2010-11-17 15:50:57 by Stuart Henderson | Files touched by this commit (1)
Log message:
depend on devel/p5-Class-ISA, bump REVISION.
   2010-11-15 12:46:10 by Marc Espie | Files touched by this commit (706)
Log message:
move depends to new style
   2010-10-18 11:48:13 by Marc Espie | Files touched by this commit (650)
Log message:
USE_GROFF=Yes
   2010-07-02 20:44:14 by Christian Weisgerber | Files touched by this commit (19)
Log message:
Kill all instances of the dangerous RUN_DEPENDS=${BUILD_DEPENDS} idiom.
Bump pkgname where necessary.