劉康民 > WWW-SourceForge-0.10 > WWW::Source::Project

Download:
WWW-SourceForge-0.10.tar.gz

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source   Latest Release: WWW-SourceForge-0.70

NAME ^

WWW::Source::Project - A class presenting sourceforge projects.

SYNOPSIS ^

use strict; use WWW::SourceForge::Project; use Data::Dumper;

my $pname = 'gaim';

my $proj = WWW::SourceForge::Project->new($pname);

die "Invalid project\n" unless $proj;

print Dumper $proj->Member;

DESCRIPTION ^

This object use WWW::Mechanize to grab any informations of a project from sourceforge website.

METHODS ^

new($unixname)

Return an object of project with given unixname.

Admin

Return a list, or arrayref, of member objects who are project administrators.

Member($param)

Return a hashref of all project members. Organized as

$pm->{<Position>}->{<field>}

MailingLists

Returns a hashref of hashes containing information about the project's mailing lists. Each mailing list is a separate entry in the hash, keyed by its list name. The individual mailing list hashes have the following data members:

    posts     - Total number of posts made to the list
    members   - Current number of mailing list subscribers

Returns undef in the case of an error.

FetchCVSRepository( )

Fetch and save the cvs repository tarball into current working directory.

syntax highlighting: