r15713 - in /branches/upstream/libclass-data-inheritable-perl/current: Changes META.yml Makefile.PL README lib/Class/Data/Inheritable.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Feb 27 08:52:30 UTC 2008
Author: dmn
Date: Wed Feb 27 08:52:29 2008
New Revision: 15713
URL: http://svn.debian.org/wsvn/?sc=1&rev=15713
Log:
[svn-upgrade] Integrating new upstream version, libclass-data-inheritable-perl (0.08)
Modified:
branches/upstream/libclass-data-inheritable-perl/current/Changes
branches/upstream/libclass-data-inheritable-perl/current/META.yml
branches/upstream/libclass-data-inheritable-perl/current/Makefile.PL
branches/upstream/libclass-data-inheritable-perl/current/README
branches/upstream/libclass-data-inheritable-perl/current/lib/Class/Data/Inheritable.pm
Modified: branches/upstream/libclass-data-inheritable-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libclass-data-inheritable-perl/current/Changes?rev=15713&op=diff
==============================================================================
--- branches/upstream/libclass-data-inheritable-perl/current/Changes (original)
+++ branches/upstream/libclass-data-inheritable-perl/current/Changes Wed Feb 27 08:52:29 2008
@@ -1,3 +1,9 @@
+
+0.08 Sat Jan 26 00:34:11 NZDT 2008
+ - Fix 'perltooc' typo in Docs
+
+0.07 Sat Jan 26 00:34:11 NZDT 2008
+ - Relicense as dual AL/GPL
0.06 Wed Sep 20 14:35:55 BST 2006
- Sync the japanese docs (as best as possible!)
Modified: branches/upstream/libclass-data-inheritable-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libclass-data-inheritable-perl/current/META.yml?rev=15713&op=diff
==============================================================================
--- branches/upstream/libclass-data-inheritable-perl/current/META.yml (original)
+++ branches/upstream/libclass-data-inheritable-perl/current/META.yml Wed Feb 27 08:52:29 2008
@@ -1,10 +1,12 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Class-Data-Inheritable
-version: 0.06
-version_from: lib/Class/Data/Inheritable.pm
-installdirs: site
-requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.21
+--- #YAML:1.0
+name: Class-Data-Inheritable
+version: 0.08
+abstract: Inheritable, overridable class data
+license: perl
+author: ~
+generated_by: ExtUtils::MakeMaker version 6.42
+distribution_type: module
+requires:
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.3
Modified: branches/upstream/libclass-data-inheritable-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libclass-data-inheritable-perl/current/Makefile.PL?rev=15713&op=diff
==============================================================================
--- branches/upstream/libclass-data-inheritable-perl/current/Makefile.PL (original)
+++ branches/upstream/libclass-data-inheritable-perl/current/Makefile.PL Wed Feb 27 08:52:29 2008
@@ -3,10 +3,7 @@
WriteMakefile(
NAME => 'Class::Data::Inheritable',
VERSION_FROM => "lib/Class/Data/Inheritable.pm",
+ ABSTRACT_FROM => "lib/Class/Data/Inheritable.pm",
+ LICENSE => 'perl',
PREREQ_PM => {},
- dist => {
- COMPRESS => 'gzip -9',
- SUFFIX => '.gz',
- DIST_DEFAULT => 'all tardist',
- },
);
Modified: branches/upstream/libclass-data-inheritable-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libclass-data-inheritable-perl/current/README?rev=15713&op=diff
==============================================================================
--- branches/upstream/libclass-data-inheritable-perl/current/README (original)
+++ branches/upstream/libclass-data-inheritable-perl/current/README Wed Feb 27 08:52:29 2008
@@ -10,7 +10,10 @@
# Declare the location of the data file for this class.
Stuff->DataFile('/etc/stuff/data');
-
+
+ # Or, all in one shot:
+ Stuff->mk_classdata(DataFile => '/etc/stuff/data');
+
DESCRIPTION
Class::Data::Inheritable is for creating accessor/mutators to class
data. That is, if you want to store something about your class as a
@@ -62,10 +65,12 @@
Methods
mk_classdata
Class->mk_classdata($data_accessor_name);
+ Class->mk_classdata($data_accessor_name => $value);
This is a class method used to declare new class data accessors. A new
accessor will be created in the Class using the name from
- $data_accessor_name.
+ $data_accessor_name, and optionally initially setting it to the given
+ value.
To facilitate overriding, mk_classdata creates an alias to the accessor,
_field_accessor(). So Suitcase() would have an alias
@@ -89,15 +94,14 @@
BUGS and QUERIES
Please direct all correspondence regarding this module to:
- bug-Bit-Vector-Minimal at rt.cpan.org
+ bug-Class-Data-Inheritable at rt.cpan.org
COPYRIGHT and LICENSE
Copyright (c) 2000-2005, Damian Conway and Michael G Schwern. All Rights
Reserved.
This module is free software. It may be used, redistributed and/or
- modified under the terms of the Perl Artistic License (see
- http://www.perl.com/perl/misc/Artistic.html)
+ modified under the same terms as Perl itself.
SEE ALSO
perltootc has a very elaborate discussion of class data in Perl.
Modified: branches/upstream/libclass-data-inheritable-perl/current/lib/Class/Data/Inheritable.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libclass-data-inheritable-perl/current/lib/Class/Data/Inheritable.pm?rev=15713&op=diff
==============================================================================
--- branches/upstream/libclass-data-inheritable-perl/current/lib/Class/Data/Inheritable.pm (original)
+++ branches/upstream/libclass-data-inheritable-perl/current/lib/Class/Data/Inheritable.pm Wed Feb 27 08:52:29 2008
@@ -2,7 +2,7 @@
use strict qw(vars subs);
use vars qw($VERSION);
-$VERSION = '0.06';
+$VERSION = '0.08';
sub mk_classdata {
my ($declaredclass, $attribute, $data) = @_;
@@ -142,10 +142,9 @@
All Rights Reserved.
This module is free software. It may be used, redistributed and/or
-modified under the terms of the Perl Artistic License (see
-http://www.perl.com/perl/misc/Artistic.html)
+modified under the same terms as Perl itself.
=head1 SEE ALSO
-L<perltootc> has a very elaborate discussion of class data in Perl.
+L<perltooc> has a very elaborate discussion of class data in Perl.
More information about the Pkg-perl-cvs-commits
mailing list