NAME

cpanstats-update - script to update entries in the cpanstats database.

SYNOPSIS

  perl cpanstats-update                 \
     --config=<file>                    \
     --database=<dbcode>                \
     [-i=0] [--file=<file>]

DESCRIPTION

Using a nominated cpanstats database, this program will search for records matching the given id on the command line, or the list provided in a named file. If the named file is correctly formatted, the nominated columns will also be updated.

OPTIONS

--config

Configuration file contain database access details.

--database

Specify the database to use, CPANSTATS or LITESTATS

-i | --id

Display the record matching the given NNTP id.

--file

The named file will be used to retrieve a list of NNTP ids, and if correctly formatted will update columns for the nominated id.

To display records for a list of ids, the file should look like:

  1
  2
  3
  4

To update columns for given ids, the file should look like:

  1,state='pass'
  2,state='pass',dist='MyDist'

Note that the second entry will update multiple columns

get_list

Returns the list of NNTP ids from the named file.

init_options

Determine command line options and initialise any defaults.

BUGS, PATCHES & FIXES

There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties, that is not explained within the POD documentation, please send bug reports and patches to the RT Queue (see below).

Fixes are dependent upon their severity and my availability. Should a fix not be forthcoming, please feel free to (politely) remind me.

RT Queue - http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Testers-Data-Generator

SEE ALSO

CPAN::Testers::WWW::Reports, CPAN::Testers::WWW::Statistics

http://www.cpantesters.org/, http://stats.cpantesters.org/, http://wiki.cpantesters.org/

AUTHOR

  Barbie, <barbie@cpan.org>
  for Miss Barbell Productions <http://www.missbarbell.co.uk>.

COPYRIGHT AND LICENSE

  Copyright (C) 2005-2012 Barbie for Miss Barbell Productions.

  This module is free software; you can redistribute it and/or
  modify it under the Artistic License 2.0.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 112:

'=item' outside of any '=over'