Module::CoreList export %delta and document it
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Sat, 21 Sep 2013 10:35:07 +0000 (11:35 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Sat, 21 Sep 2013 10:50:01 +0000 (11:50 +0100)
dist/Module-CoreList/Changes
dist/Module-CoreList/lib/Module/CoreList.pm
dist/Module-CoreList/lib/Module/CoreList.pod

index ecdef14..ff87f1b 100644 (file)
@@ -1,5 +1,6 @@
 3.00
   - Prepared for v5.19.5
+  - exported %delta
 
 2.99 Fri Sep 20 2013
   - Updated for v5.19.4
index 1fd6042..e316afc 100644 (file)
@@ -1,7 +1,7 @@
 package Module::CoreList;
 use strict;
 use vars qw/$VERSION %released %version %families %upstream
-           %bug_tracker %deprecated/;
+           %bug_tracker %deprecated %delta/;
 use Module::CoreList::TieHashDelta;
 $VERSION = '3.00';
 
@@ -247,7 +247,7 @@ for my $version ( sort { $a <=> $b } keys %released ) {
     push @{ $families{ $family }} , $version;
 }
 
-my %delta = (
+%delta = (
     5 => {
         changed => {
             'AnyDBM_File'           => undef,
index f8797d0..e449beb 100644 (file)
@@ -159,6 +159,20 @@ that's what you're testing for.
 Starting with 2.10, the special module name C<Unicode> refers to the version of
 the Unicode Character Database bundled with Perl.
 
+=item C<%Module::CoreList::delta>
+
+Available in version 3.00 and above.
+
+C<%Module::CoreList::version> is implemented via C<Module::CoreList::TieHashDelta>
+using this hash of delta changes.
+
+It is a hash of hashes that is keyed on perl version. Each keyed hash will have the
+following keys:
+
+  delta_from - a previous perl version that the changes are based on
+  changed    - a hash of module/versions that have changed
+  removed    - a hash of modules that have been removed
+
 =item C<%Module::CoreList::released>
 
 Keyed on perl version this contains ISO