in reply to How to use a .pm file in a .pl file in another directory.

It's not quite clear from your pseudo path, whether you specified a relative path.  If so, make it an absolute one (e.g. "c:/path/to/directory/of/chess-square"). In this case, both use lib ... and BEGIN { push @INC, ... } should work just fine (if you specify the correct path).