Moves;
use File::ShareDir qw(dist_file);
use File::Slurper qw(read_text);
use Cpanel::JSON::XS qw(decode_json);
require Exporter;
my ( $hECO, $hNIC, $hOpening );
my %hash = (
ECO =>
_GetPaths('Chess-PGN-EPD');
$hECO = decode_json read_text($ECO_path);
$hNIC = decode_json read_text($NIC_path);
$hOpening = decode_json read_text($Opening_path);
sub _GetPaths {
on three database files installed along with
the module. On demand other formats (the current is JSON) may be implemented. The 'ToDo' list
also mentions the possibility of extending the databases, a