P5U::Lib::Whois - support library implementing p5u's whois command
use P5U::Lib::Whois; print P5U::Lib::Whois -> new(cpanid => 'TOBYINK') -> report;
This is a support library for the testers command.
It's a Moo-based class.
new(%attributes)
Creates a new instance of the class.
Generally speaking the only attribute you want to set here is cpanid.
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.
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.
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=P5U.
p5u.
Toby Inkster <tobyink@cpan.org>.
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.
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.
To install P5U, copy and paste the appropriate command in to your terminal.
cpanm
cpanm P5U
CPAN shell
perl -MCPAN -e shell install P5U
For more information on module installation, please visit the detailed CPAN module installation guide.