NAME

PAUSE::Users - interface to PAUSE's users file (00whois.xml)

SYNOPSIS

use PAUSE::Users;

my $users    = PAUSE::Users->new();
my $iterator = $users->user_iterator();

while (defined($user = $iterator->next_user)) {
  print "PAUSE id = ", $user->id, "\n";
  print "Name     = ", $user->fullname, "\n";
}

DESCRIPTION

NOTE: this is very much an alpha release. Any and all feedback appreciated.

PAUSE::Users provides an interface to the 00whois.xml file produced by the Perl Authors Upload Server (PAUSE). The file contains a list of all PAUSE users:

FILE FORMAT

The meat of the file is a list of <cpanid> elements, each of which contains details of one PAUSE user:

<?xml version="1.0" encoding="UTF-8"?>
<cpan-whois xmlns='http://www.cpan.org/xmlns/whois'
           last-generated='Sat Nov 16 18:19:01 2013 UTC'
           generated-by='/home/puppet/pause/cron/cron-daily.pl'>
 
 ...
 
 <cpanid>
  <id>NEILB</id>
  <type>author</type>
  <fullname>Neil Bowers</fullname>
  <email>neil@bowers.com</email>
  <has_cpandir>1</has_cpandir>
 </cpanid>
 
 ...
 
</cpan-whois>

SEE ALSO

Parse::CPAN::Whois is another module that parses 00whois.xml, but you have to download it yourself first.

Parse::CPAN::Authors is another module for getting information about PAUSE users, but based on 01.mailrc.txt.gz.

PAUSE::Permissions, PAUSE::Packages.

REPOSITORY

https://github.com/neilbowers/PAUSE-Users

AUTHOR

Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Neil Bowers <neilb@cpan.org>.

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