Clean up module usage in parse-pgn.pl. book
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 10 Dec 2014 00:44:06 +0000 (01:44 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 10 Dec 2014 00:44:06 +0000 (01:44 +0100)
book/parse-pgn.pl

index d0207dc..1da3e3a 100755 (executable)
@@ -3,11 +3,10 @@ use Chess::PGN::Parse;
 use Data::Dumper;
 use strict;
 use warnings;
-use DBI;
-use DBD::Pg;
-require 'Position.pm';
-require 'Engine.pm';
-require 'ECO.pm';
+use lib '..';
+use Position;
+use Engine;
+use ECO;
 
 my $TEXTOUT = 0;
 my $BINOUT = 1;