neilwatson has asked for the wisdom of the Perl Monks concerning the following question:
What is the purpose of this file?File: 03modlist.data Description: These are the data that are published in the module list, but they may be more recent than the latest posted modulelist. Over time we'll make sure that these data can be used to print the whole part two of the modulelist. Currently this is not the case. Modcount: 3814 Written-By: Id: mldistwatch 699 2006-01-30 15:42:03Z k Date: Fri, 03 Mar 2006 14:33:12 GMT package CPAN::Modulelist; # Usage: print Data::Dumper->new([CPAN::Modulelist->data])->Dump or si +milar # cannot 'use strict', because we normally run under Safe # use strict; sub data { my $result = {}; my $primary = "modid"; for (@$CPAN::Modulelist::data){ my %hash; @hash{@$CPAN::Modulelist::cols} = @$_; $result->{$hash{$primary}} = \%hash; } $result; } $CPAN::Modulelist::cols = [ 'modid', 'statd', 'stats', 'statl', 'stati', 'statp', 'description', 'userid', 'chapterid' ];
Neil Watson
watson-wilson.ca
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating a local CPAN server
by timotheus (Novice) on May 04, 2006 at 15:15 UTC | |
by neilwatson (Priest) on May 04, 2006 at 15:19 UTC | |
by timotheus (Novice) on May 04, 2006 at 15:41 UTC | |
by neilwatson (Priest) on May 04, 2006 at 17:11 UTC | |
by timotheus (Novice) on May 04, 2006 at 19:47 UTC | |
by blazar (Canon) on May 04, 2006 at 16:19 UTC | |
by timotheus (Novice) on May 04, 2006 at 17:43 UTC | |
by blazar (Canon) on May 04, 2006 at 17:53 UTC | |
by timotheus (Novice) on May 04, 2006 at 18:17 UTC | |
|
Re: Creating a local CPAN server
by dragonchild (Archbishop) on May 04, 2006 at 16:03 UTC |