Chess::PGN::EPD

Chess::PGN::EPD is a Perl extension to produce and manipulate EPD text.
Download

Chess::PGN::EPD Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Hugh S. Myers
  • Publisher web site:
  • http://search.cpan.org/~hsmyers/Chess-PGN-EPD-0.21/EPD.pm

Chess::PGN::EPD Tags


Chess::PGN::EPD Description

Chess::PGN::EPD is a Perl extension to produce and manipulate EPD text. Chess::PGN::EPD is a Perl extension to produce and manipulate EPD text.SYNOPSIS #!/usr/bin/perl # # use warnings; use strict; use Chess::PGN::Parse; use Chess::PGN::EPD; if ($ARGV) { my $pgn = new Chess::PGN::Parse($ARGV) or die "Can't open $ARGV: $!n"; while ($pgn->read_game()) { $pgn->parse_game(); print join ( "n", epdlist( @{$pgn->moves()} ) ), "nn"; } }OR #!/usr/bin/perl # # use warnings; use strict; use Chess::PGN::EPD; my $position = 'rnbqkb1r/ppp1pppp/5n2/3P4/8/8/PPPP1PPP/RNBQKBNR w KQkq -'; print join("n",epdstr(epd => $position,type => 'latex'));OR #!/usr/bin/perl # # use strict; use warnings; use Chess::PGN::Parse; use Chess::PGN::EPD; if ($ARGV) { my $pgn = new Chess::PGN::Parse($ARGV) or die "Can't open $ARGV: $!n"; while ($pgn->read_game()) { my @epd; $pgn->parse_game(); @epd = reverse epdlist( @{$pgn->moves()} ); print 'n"; print 'n"; print 'n"; } }Requirements:· Perl


Chess::PGN::EPD Related Software