The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::OnlineJudge - Perl interface to UVa Online Judge System (Valladolid Programming Competition)

VERSION

Version 0.01

SYNOPSIS

    use WebService::OnlineJudge;
    
    my $ws = WebService::OnlineJudge->new();
    
    # you can get current status of the site
    print 'Current submissions: ' . $ws->submissions() . "\n";
    print 'Current problems: '    . $ws->problems()    . "\n";
    print 'Current users: '       . $ws->users()       . "\n";
    print 'Current contests: '    . $ws->contests()    . "\n";

DESCRIPTION

Programming competitions happen everywhere, but one of the most famous is the Valladolid University's (UVa) International Programming Contest. Unfortunately you can't submit code in Perl (there's a funny story on Perl being banned from UCLA's competition for making problems too easy to solve in http://groups.google.com/group/comp.lang.perl.misc/msg/2cb6cb1134f84d81). Still, that doesn't mean you can't use Perl to provide a nice interface to the contest's information.

METHODS

new()

Returns a new WebService::OnlineJudge object.

submissions()

Returns the total number of submissions in the UVa System

problems()

Returns the total number of available problems in the UVa System

users()

Returns the total number of users registered in the UVa System

contests()

Returns the total number of contests available in the UVa System

AUTHOR

Breno G. de Oliveira, <garu at cpan.org>

BUGS AND LIMITATIONS

The Valladolid OnlineJudge website appears to be not mature enough in its own interface, so don't be surprised if something suddenly stops working - just drop me a line via email or RT and I'll try to adjust this module to it as soon as possible.

Please report any bugs or feature requests to bug-webservice-onlinejudge at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-OnlineJudge. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc WebService::OnlineJudge

You can also look for information at:

ACKNOWLEDGEMENTS

I'd like to thank Bruno C. Buss for inspiring the creation of this module and helping with the API. He'll probably be the maintainer of this in the future (or at least a solid bug/bugfix RT poster =)

COPYRIGHT & LICENSE

Copyright 2008 Breno G. de Oliveira, all rights reserved.

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