WWW::SPOJ::User - Object representation of a SPOJ user
use WWW::SPOJ; my $user = new WWW::SPOJ::User('john_jones');
See WWW::SPOJ for a description of this project.
This module declares one constructor:
Constructs a WWW::SPOJ::User to represent the user with the specified username. Returns undef if such a user doesn't exist, so you can assume that all WWW::SPOJ::User objects are valid users.
undef
Returns the user's real name (what the user gave for the "Your name:" field on the user data update page).
Returns the user's username. Should be the same as what was passed to the constructor when this object was created, except for possible differences in case.
Returns the country the user has chosen to represent.
Returns the user's institution or the empty string if the user didn't specify anything.
Returns the user's e-mail address. I hope you're not checking this so you can spam. Probability suggests you'll get the empty string from this method because most users will likely choose not to make their e-mail address publicly visible.
Returns the user's motto or the empty string if the user didn't specify anything. Many users put a URL here.
http://www.spoj.pl/, WWW::SPOJ
Please report them: http://rt.cpan.org/Public/Dist/Display.html?Name=WWW-SPOJ
Miorel-Lucian Palii, <mlpalii@gmail.com>
Copyright (C) 2009 by Miorel-Lucian Palii
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install WWW::SPOJ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::SPOJ
CPAN shell
perl -MCPAN -e shell install WWW::SPOJ
For more information on module installation, please visit the detailed CPAN module installation guide.