Chess-PGN-EPD

 view release on metacpan or  search on metacpan

examples/sample2.pl  view on Meta::CPAN

#!/usr/bin/perl
# sample2.pl - an example of Chess::PGN::EPD usage...
#
use warnings;
use strict;
use Chess::PGN::EPD qw( epdstr );

my $position = 'rnbqkb1r/ppp1pppp/5n2/3P4/8/8/PPPP1PPP/RNBQKBNR w KQkq -';
print join( "\n", epdstr( epd => $position, type => 'latex' ) );



( run in 0.302 second using v1.01-cache-2.11-cpan-a1d94b6210f )