Chess-Games-DotCom

 view release on metacpan or  search on metacpan

DotCom.pm  view on Meta::CPAN

    my $request = HTTP::Request->new
      (GET => $url,
       
      );
    my $response = $ua->request($request);
    return $response->is_success ? $response->content : undef;
}

sub pgn_url {

  my $gid = shift;

  "http://www.chessgames.com/perl/nph-chesspgndownload?gid=$gid"
}

sub game_of_day {

    my $outfile = shift || "game_of_day.pgn";

    # retrieve http://www.chessgames.com

    my $html = get $home;



( run in 0.807 second using v1.01-cache-2.11-cpan-97f6503c9c8 )