[libclass-virtual-perl] 02/11: Adding $VERSION.

dom at earth.li dom at earth.li
Wed Aug 23 14:00:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

dom pushed a commit to tag v0.06
in repository libclass-virtual-perl.

commit 3044bd2cab3d92690e1ab9479c5945296d25ae99
Author: Michael G. Schwern <schwern at pobox.com>
Date:   Mon Oct 20 05:13:51 2003 +0000

    Adding $VERSION.
    
    Clarifying small doc bits.
    
    
    git-svn-id: file:///Users/schwern/tmp/svn/CPAN/Class-Virtual/trunk@2280 8151f2b9-fde8-0310-94fd-f048d12aab9e
---
 lib/Class/Virtually/Abstract.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Class/Virtually/Abstract.pm b/lib/Class/Virtually/Abstract.pm
index a112263..4ba7803 100644
--- a/lib/Class/Virtually/Abstract.pm
+++ b/lib/Class/Virtually/Abstract.pm
@@ -4,7 +4,8 @@ use strict;
 use base qw(Class::Virtual);
 use Carp::Assert;
 
-use vars qw(%Registered);
+use vars qw(%Registered $VERSION);
+$VERSION = '0.02';
 
 {
     no strict 'refs';
@@ -105,8 +106,7 @@ Because this relies on import() it is important that your classes are
 B<use>d instead of B<require>d.  This is a problem, and I'm trying to
 figure a way around it.
 
-Also, if a subclass defines its own import() routine (why would a
-class need to export stuff?  I've done it)
+Also, if a subclass defines its own import() routine (I've done it)
 Class::Virtually::Abstract's compile-time checking is defeated.
 
 Got to think of a better way to do this besides import().
@@ -114,7 +114,7 @@ Got to think of a better way to do this besides import().
 
 =head1 AUTHOR
 
-Original idea from Ben Tilly's AbstractClass
+Original idea and code from Ben Tilly's AbstractClass
 http://www.perlmonks.org/index.pl?node_id=44300&lastnode_id=45341
 
 Embraced and Extended by Michael G Schwern E<lt>schwern at pobox.comE<gt>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-virtual-perl.git



More information about the Pkg-perl-cvs-commits mailing list