use lib '.' not handled properly by syntax checker
|Reported by:||Floyd-ATC||Owned by:|
I'm writing a script designed to run in both Windows and Linux. This means I can't use a full path name to my custom modules; the directory "D:\perl\foo" in Windows is called something completely different in Linux.
Because of this, I use '.' during development, like so:
use lib '.';
Unfortunately, this produces the following error message:
Can't locate Foo/Bar?.pm in @INC (@INC contains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .).
BEGIN failed--compilation aborted
I should perhaps mention that the script runs just fine if I hit F5