This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Store version information as a delta in Module::CoreList
authorDavid Leadbeater <dgl@dgl.cx>
Sun, 29 Jul 2012 00:39:05 +0000 (01:39 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 4 Aug 2012 05:47:35 +0000 (22:47 -0700)
commita272bf38fe56bc079165353355df3e49dd73afeb
tree798dec0c8212dda1fac13f49a888121ec134c485
parente2e1d5ce8b2c46b5dca1cb749153789a4315191a
Store version information as a delta in Module::CoreList

This reduces the size of the CoreList.pm file by storing the difference
between the versions of perl rather than a full list for each version.

In order to achieve this without changing the interface each key in the
%version hash is tied to a special tied hash that inflates the stored
difference data to the full list of modules and versions.

As part of the upgrade I ran a comparison with the
%version hash in the current Module::CoreList -- there are no
differences.
MANIFEST
Porting/corelist.pl
dist/Module-CoreList/lib/Module/CoreList.pm
dist/Module-CoreList/lib/Module/CoreList/TieHashDelta.pm [new file with mode: 0644]