Toby Inkster > P5U-0.100 > P5U::Lib::Whois

Download:
P5U-0.100.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.100   Source  

NAME ^

P5U::Lib::Whois - support library implementing p5u's whois command

SYNOPSIS ^

 use P5U::Lib::Whois;
 print P5U::Lib::Whois
    -> new(cpanid => 'TOBYINK')
    -> report;

DESCRIPTION ^

This is a support library for the testers command.

It's a Moo-based class.

Constructor

new(%attributes)

Creates a new instance of the class.

Generally speaking the only attribute you want to set here is cpanid.

Attributes

cpanid

CPAN ID; read-only; string.

name

Person's name; read-only; string or undef.

city

City where person lives; read-only; string or undef.

region

Region where person lives; read-only; string or undef.

country

Country where person lives as an ISO 3166 code; read-only; string or undef.

longitude

Longitude for where the person lives; read-only; number or undef.

latitude

Latitude for where the person lives; read-only; number or undef.

website

Person's websites; read-only, array ref of strings.

email

Person's e-mail addresses; read-only, array ref of strings.

metacpan_data

Data from MetaCPAN; read-only, hash ref.

metacpan_releases

Release data from MetaCPAN; read-only, array ref.

Methods

location

Returns a string combining location data (city, region, country, co-ordinates).

releases

Arrayref of strings of all latest releases. Strings are e.g. "Foo-Bar-0.001".

namespaces

Top-level namespaces this person has released distributions in, sorted in order of most releases first.

report($detailed)

Returns a whois report on the person as a long string. The parameter is a boolean indicating whether the report should include additional details.

BUGS ^

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=P5U.

SEE ALSO ^

p5u.

AUTHOR ^

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE ^

This software is copyright (c) 2012-2013 by Toby Inkster.

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

DISCLAIMER OF WARRANTIES ^

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

syntax highlighting: