View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
David E. Wheeler > WWW-PGXN-v0.12.4 > WWW::PGXN::User



Annotate this POD


View/Report Bugs
Module Version: v0.12.4   Source  

Name ^

WWW::PGXN::User - User metadata fetched from PGXN

Synopsis ^

  my $pgxn  = WWW::PGXN->new( url => '' );
  my $user = $pgxn->get_user('theory');
  say $user->name, '<', $user->email, '>';

Description ^

This module represents PGXN user metadata fetched from PGXN>. It is not intended to be constructed directly, but via the "get_user" in WWW::PGXN method of WWW::PGXN.

Interface ^

Instance Accessors


  my $nickname = $user->nickname;

The user's nickname (also known as a user name).


  my $name = $user->name;

The full name of the user.


  my $uri = $user->uri;

The URI for the user. May be undef if the user has no URI.


  my $email = $user->email;

The user's email address.


  my $twitter = $user->twitter;

The user's Twitter nickname, if any.


  my $releases = $user->releases;

Returns a hash reference describing all of the distributions ever released by the user. The keys of are distribution names and the values are hash references that may contain the following keys:


An array reference containing hashes of versions and release dates of all releases of the distribution with the named release status, ordered from most to least recent.


A brief description of the distribution. Available only from the PGXN API, not mirrors.

Here's an example of the releases data structure:

      explanation => {
          abstract => 'Turn an explain plan into a proximity tree',
          stable => [
              { version => '0.2.0', date => '2011-02-21T20:14:56Z' }
      pair => {
          abstract => 'A key/value pair data type',
          stable => [
              { version => '0.1.1', date => '2010-10-22T16:32:52Z' },
              { version => '0.1.0', date => '2010-10-19T03:59:54Z' }
          testing => [
              { version => '0.0.1', date => '2010-09-23T14:23:52Z' }

See Also ^

Support ^

This module is stored in an open GitHub repository. Feel free to fork and contribute!

Please file bug reports via GitHub Issues or by sending mail to

Author ^

David E. Wheeler <>

Copyright and License ^

Copyright (c) 2011 David E. Wheeler. Some Rights Reserved.

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

syntax highlighting: