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).
In reply to Re: How to use a .pm file in a .pl file in another directory.
by Eliya
in thread How to use a .pm file in a .pl file in another directory.
by tommyxd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |