Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Chess::FIDE::Player 1.00

    Download button

    No screenshots available
    Downloads: 344  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Roman M. Parparov | More programs
    Perl Artistic License / FREE
    December 22nd, 2006, 07:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Chess::FIDE::Player description

    Chess::FIDE::Player is a Perl module to parse player data from FIDE Rating List.

    Chess::FIDE::Player is a Perl module to parse player data from FIDE Rating List.

    SYNOPSIS

    use Chess::FIDE::Player qw(@FIDE_field);
    my $player = Chess::FIDE::Player->new(%param);
    print $player->id() . "n";
    $player->value('field');

    Chess::FIDE::Player - Parse player data from FIDE Rating List. FIDE is the International Chess Federation that every quarter of the year releases a list of its rated members. The list contains about fifty thousand entries. This module provides means of translation of every entry into a perl object containing all the fields.

    Constructor

    $player = Chess::FIDE::Player->new(%param);

    The constructor creates a hash reference, blesses it and fills it with parameters passed in %param. The parameters should be fields corresponding to @FIDE_field (see section 'EXPORT'). If a field is not defined, a default value contained in %init is used, and if it is the 'id' field, the next default id is increased by one.

    value

    $player->value('field'); $player->value('field',$value);

    First one retrieves a field in the $player object. If the field is not valid (i.e. not contained in @FIDE_field, an undef is returned. Second one sets the field to $value, and again in case of an invalid field undef is returned. Otherwise the new value of the field is returned.

    EXPORT

    @FIDE_field

    - array of valid fields for the Player object.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    parse player data | FIDE Rating List | Perl module | Chess::FIDE::Player | parse | player

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM