NAME

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

SYNOPSIS

perl upstats.pl [-i=0] [--database=$db] [--file=$file]

DESCRIPTION

Using the cpanstats database, which should in the local directory, 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

-i | --id

Display the record matching the given NNTP id.

--database

Specify the exact path to the cpanstats database if not ./cpanstats.db.

--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.

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 an email to barbie@cpan.org. However, it would help greatly if you are able to pinpoint problems or even supply a patch.

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

SEE ALSO

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

AUTHOR

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

COPYRIGHT AND LICENSE

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

This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 113:

'=item' outside of any '=over'