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 similar
# 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'
];
What is the purpose of this file?
Neil Watson
watson-wilson.ca
Neil Watson
watson-wilson.ca
I had already heard about CPAN::Mini. However taking into account the following discussion in this thread, one gathers the idea that however cheap disk space is becoming now, it is not that "mini" after all.
Is it possible that one cannot easily setup an infrastructure a' la CPAN only for "local" stuff... CPAN::Micro, any?!?
root@tor-svn01 ~/.cpan/build/CPAN-Mini-Inject-0.18 $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load..........# Testing CPAN::Mini::Inject 0.18
t/00.load..........ok
t/add..............ok
t/inject...........ok
t/loadcfg..........ok
t/new..............ok
t/parsecfg.........ok
t/pod-coverage.....skipped
all skipped: Test::Pod::Coverage 0.08 required for testing POD coverage
t/pod..............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/readlist.........ok
t/testremote.......ok
t/update_mirror....ok 1/8Can't open file index.html: at t/lib/CPANServer.pm line 14, line 16.
unable to contact the remote mirror at t/update_mirror.t line 31
# Looks like you planned 8 tests but only ran 1.
t/update_mirror....dubious
Test returned status 7 (wstat 1792, 0x700)
DIED. FAILED tests 2-8
Failed 7/8 tests, 12.50% okay
t/writelist........ok
t/zz.exceptions....skipped
all skipped: Test Exceptions required to test croaks
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/update_mirror.t 7 1792 8 7 87.50% 2-8
3 tests skipped.
Failed 1/13 test scripts, 92.31% okay. 7/39 subtests failed, 82.05% okay.
make: *** [test_dynamic] Error 29
There is no index.html file any where in the tar ball.
Neil Watson
watson-wilson.ca
my $repo = CPAN::Mini::Inject->new;
$repo->parsecfg( '/home/httpd/html/cpan/.cpancfg' );
$repo->add( module => $app_name,
authorid => $app_owner,
version => $app_version,
file => "$app_dir/$app_file" );
$repo->writelist;
$repo->inject;
perlmonks.org content © perlmonks.org and blazar, dragonchild, neilwatson, timotheus
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03