Martijn van Beers > Parse-CPAN-Whois > Parse::CPAN::Whois

Download:
Parse-CPAN-Whois-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Parse::CPAN::Whois - Parse CPAN's authors/00whois.xml file

DESCRIPTION ^

CPAN has two author indices, "01mailrc.txt.gz", which Parse::CPAN::Authors parses for you, and "00whois.xml", which is handled by this module.

It tries to be API-compatible with Parse::CPAN::Authors, while providing access to the extra information "00whois.xml" has over "01mailrc.txt.gz".

METHODS ^

new FILENAME|DATA

new() takes either a path or a scalar containing the data to parse as an argument. It parses the data, and then returns an object you can query for PAUSE ids.

author PAUSEID

returns the Parse::CPAN::Whois::Author object that corresponds to the PAUSE id.

authors

returns a list of Parse::CPAN::Whois::Author objects.

SEE ALSO ^

Parse::CPAN::Authors

AUTHOR ^

Martijn van Beers <martijn@cpan.org>

LICENSE ^

Copyright (c) 2008, Martijn van Beers

This module is free software; you can redistribute it or modify it under the GPL, version 2 or higher. See the LICENSE file for details.

syntax highlighting: